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 / k.naveen kumar

#include<stdio.h>
#include<conio.h>
main()
{
int a;

printf("Please enter the number :=> ");
scanf("%d",&a);

if (a%2==0)
printf("Even");
else
printf("odd");
getch();
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why c is faster than c++?

1046


What is string constants?

1153


What is structure in c language?

1177


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

2329


Ow can I insert or delete a line (or record) in the middle of a file?

1005


What is the difference between functions abs() and fabs()?

1160


What 'lex' does?

1188


Tell me about low level programming languages.

1135


What does 3 periods mean in texting?

1067


What is a newline escape sequence?

1107


What are the two types of structure?

1093


What math functions are available for integers? For floating point?

1139


What is structure in c definition?

1057


In a switch statement, what will happen if a break statement is omitted?

1069


How do we print only part of a string in c?

1031