Answer Posted / nirdesh pal
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
printf("enter the number");
scanf("%d",&i);
if(i%2==0)
{
printf("number is even");
else
printf("number is odd");
}
getch();
}
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
write a program to find the given number is prime or not
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
why do some people write if(0 == x) instead of if(x == 0)?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
What is a shell structure examples?
the question is that what you have been doing all these periods (one year gap)
Explain the difference between strcpy() and memcpy() function?
Is printf a keyword?
Explain the concept and use of type void.
In which language linux is written?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What is meant by type casting?
What is spaghetti programming?
What are the standard predefined macros?