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
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
How arrays can be passed to a user defined function
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
Can a void pointer point to a function?
Explain what is wrong with this statement? Myname = ?robin?;
What is the use of pointers in C?
What are valid operations on pointers?
what is a constant pointer in C
The __________ attribute is used to announce variables based on definitions of columns in a table?
Explain modulus operator.
List some of the dynamic data structures in C?
Which are low level languages?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
Can an array be an Ivalue?