Answer Posted / pratikjis@yahoo.com
#include "stdio.h"
#include "conio.h"
void main()
{
int i;
clrscr();
printf("Enter the number");
scanf("%d", &i);
if(i%2==0)
{
printf("the number is even %d", i);
}
else
{
printf("The number is odd %d", i);
}
getch();
}
Is This Answer Correct ? | 36 Yes | 19 No |
Post New Answer View All Answers
Where is volatile variable stored?
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....
What are the general description for loop statement and available loop types in c?
how to make a scientific calculater ?
Is multithreading possible in c?
Tell me with an example the self-referential structure?
how could explain about job profile
why we wont use '&' sing in aceesing the string using scanf
cavium networks written test pattern ..
int far *near * p; means
Write the Program to reverse a string using pointers.
Explain about block scope in c?
Where define directive used?
What does node * mean?
What are the different data types in C?