Answer Posted / v.karthikeyan
#include <stdio.h>
main()
{
int num;
printf("Enter a number to know the entered number is odd or
even \n");
scanf("%d",&num);
if (num%2==0)
{
printf(" The number is Even");
else
printf(" The number is Odd")
}
getch();
}
| Is This Answer Correct ? | 88 Yes | 15 No |
Post New Answer View All Answers
What is d scanf?
What is character constants?
Write a program to reverse a string.
What are keywords c?
simple program of graphics and their output display
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
What is const keyword in c?
How do I use strcmp?
I have seen function declarations that look like this
What does s c mean on snapchat?
Once I have used freopen, how can I get the original stdout (or stdin) back?
What is use of null pointer in c?
What are qualifiers?
Can you define which header file to include at compile time?
What is difference between structure and union in c?