write a c program that prints all multiples of 3between 1
and 50.

Answer Posted / pruthiewraj swain

#include<stdio.h>
#include <conio.h>
voidmain()
{
int a ;
printf("enter the multiples of 3");
while (a=100)
{
if (a%3==0|| a%4==0)
}
printf("
%d",a);
}}
getch();
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is switch in c?

862


Tell us two differences between new () and malloc ()?

845


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1946


Simplify the program segment if X = B then C ← true else C ← false

2805


Explain how can I avoid the abort, retry, fail messages?

824


What Is The Difference Between Null And Void Pointer?

871


What is getch() function?

836


i got 75% in all semester am i eligible for your company

1955


What is pragma in c?

857


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

935


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

1594


What is typedf?

886


Can include files be nested?

842


What is the best way to store flag values in a program?

800


What is memory leak in c?

850