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 odd numbers?

Answer Posted / sameer.chaudhari

main()
{
int num;

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

if (num & 1)
printf("odd");
else
printf("even");

getch();
}

Is This Answer Correct ?    22 Yes 43 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is const keyword in c?

1218


Write a c program to demonstrate character and string constants?

2246


What does p mean in physics?

1095


What is c token?

1122


Tell me can the size of an array be declared at runtime?

1083


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

3284


how to write a c program to print list of fruits in alpabetical order?

2362


Why c is procedure oriented?

1123


Write a progarm to find the length of string using switch case?

2121


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2793


Why is c called "mother" language?

1330


What is an expression?

1108


What is the advantage of an array over individual variables?

1293


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

2044


Explain high-order and low-order bytes.

1167