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 / vinay kumar gupta

#include <stdio.h>
#include<conio.h>
void main()
{
int i,lim;
clrscr();
printf("enter the limit \n");
scanf("%d",&lim);
for(i=1;i<=lim;i++)
{
if (i%2==0)
}
printf("even no. are= %d",i);
getch();
}

Is This Answer Correct ?    10 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does * p ++ increment p or what it points to?

1054


Tell me is null always defined as 0(zero)?

1034


What is c language used for?

923


What is property type c?

1045


Write a program for finding factorial of a number.

1032


What is bubble sort technique in c?

932


Which is best book for data structures in c?

1039


Explain how can a program be made to print the name of a source file where an error occurs?

1134


What are c identifiers?

1039


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

15928


What is the difference between far and near in c?

997


Should a function contain a return statement if it does not return a value?

1017


What are the types of data structures in c?

1082


What are the different types of control structures in programming?

1085


Explain the use of keyword 'register' with respect to variables.

968