write a c program that prints all multiples of 3between 1
and 50.
Answer Posted / yamuna
/*A.Yamuna III BSc CS L.R.G. COLLEGE,TIRUPUR*/
#include<stdio.h>
#include<conio.h>
void main()
{
int a;
printf("The multiples of 3 between 1 and 50 are :");
for(a=1;a<=50;a++)
{
if(a%3==0)
{
printf("\n%d",a);
}
}
getch();
}
| Is This Answer Correct ? | 47 Yes | 6 No |
Post New Answer View All Answers
how do you execute a c program in unix.
Explain what is the difference between far and near ?
What is a rvalue?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
What are the standard predefined macros?
what is a constant pointer in C
Explain the properties of union.
Define C in your own Language.
What does sizeof return c?
How can I find the modification date and time of a file?
What is "Hungarian Notation"?
Explain how can I right-justify a string?
What are the types of unary operators?
What is stack in c?
Mention four important string handling functions in c languages .