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 program for even numbers?

Answer Posted / shruti

to print numbers which are even from 0 to 100

main()
{
int i;

puts("THE EVEN NUMBERS ARE:");

for(i = 0 ; i <= 100 ; i++)
{
if(i%2 == 0)
printf("%d", i);
}

}

Is This Answer Correct ?    23 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜n’ element.

2062


What is pointer to pointer in c language?

1072


What is typedef struct in c?

1005


What are the different types of linkage exist in c?

985


which type of aspect you want from the student.

2130


what is the syallabus of computer science students in group- 1?

2280


Is c is a high level language?

1146


What is %g in c?

1028


What is class and object in c?

1065


What is array of structure in c?

1115


What are 3 types of structures?

1034


Is main is a keyword in c?

1080


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1221


When is a void pointer used?

1198


What are dangling pointers? How are dangling pointers different from memory leaks?

1247