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
What is strcpy() function?
What will be your course of action for a push operation?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
Why is c so popular?
What are identifiers in c?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
What is the function of this pointer?
What is the purpose of clrscr () printf () and getch ()?
Can we use visual studio for c?
List a few unconditional control statement in c.
What is the size of empty structure in c?
What is structure in c language?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
How can you invoke another program from within a C program?
What is struct node in c?