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
What is a dynamic array in c?
Do array subscripts always start with zero?
What is the use of function in c?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
What is scope and lifetime of a variable in c?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
Are the variables argc and argv are local to main?
Why malloc is faster than calloc?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
Is register a keyword in c?
Explain how can you check to see whether a symbol is defined?
What is a memory leak? How to avoid it?
What is the scope of static variable in c?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?