write a c program that prints all multiples of 3between 1
and 50.
Answer Posted / narsi
#include<stdio.h>
#include<conio.h>
void main()
{
int n1,n2;
n1=1;
n2=50;
while(n1<=n2)
{
if(n1%3==0)
printf("%d ",n1);
n1=n1+1;
}
}
| Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
How can I rethow can I return a sequence of random numbers which dont repeat at all?
When should you use a type cast?
What are the advantages of Macro over function?
Explain what are multidimensional arrays?
Hai what is the different types of versions and their differences
what do you mean by inline function in C?
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
Explain what is the concatenation operator?
What is huge pointer in c?
Dont ansi function prototypes render lint obsolete?
In which language linux is written?
What is the c value paradox and how is it explained?
Why pointers are used in c?
How can I remove the trailing spaces from a string?
What is null pointer in c?