Find odd and even number through C programming :
Any integer is input through the keyboard, a C program to find out whether it is an odd number or even number .
#include<stdio.h>
int main()
{
int x;
printf("Press any Integer :");
scanf("%d",&x);
if(x%2==0)
{printf("This is even number .");
}
else
{printf("This is odd number .");
}
return 0;
}
If you have any query about this , then comment below .I am happy to help you .