Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a c program that prints all multiples of 3between 1
and 50.

Answer Posted / dj

#include<stdio.h>
#include<conio.h>
Void main()
{
int i;
for(i=1;i<=50;i++)
{
if(i%3==0)
{
printf("%d",i);
}
}
grtch();
}

Is This Answer Correct ?    24 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of data files?

1188


What is the code in while loop that returns the output of given code?

1953


How many types of arrays are there in c?

1026


What are pointers really good for, anyway?

1049


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

1043


Why isn't any of this standardized in c? Any real program has to do some of these things.

1191


What is bin sh c?

1017


What are enumerated types?

1168


What are conditional operators in C?

1082


What is the purpose of main( ) in c language?

1125


write a c program to find the sum of five entered numbers using an array named number

2120


Why is c not oop?

962


Explain how can I remove the trailing spaces from a string?

1036


Why is sprintf unsafe?

1055


Can we assign integer value to char in c?

1223