Answer Posted / vivek singh
#include<stdio.h>
#include<conio.h>
void main()
{
int num;
printf("Enter the number:");
scanf("%d",&num);
if(num%2==0)
{
printf("Number is Even");
}
else
{
printf("Number is Odd");
}
getch();
}
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
Write a C program to count the number of email on text
Where define directive used?
What is the right type to use for boolean values in c? Is there a standard type?
What is volatile, register definition in C
How can I sort a linked list?
Why is c called a mid-level programming language?
Lists the benefits of c programming language?
What are operators in c?
Is it possible to have a function as a parameter in another function?
What is exit() function?
Explain void pointer?
How do I send escape sequences to control a terminal or other device?
What is the return type of sizeof?