C program to check whether the input number is odd or even

Spread the love
/************** Program **********/
int n;
printf(“Enter any number : “);

if(n%2 == 0)
printf(“Given Number is Even n”);
printf(“Given Number is Odd n”);

/*********** OUTPUT **********/

Venkatesh Macha

Hi Guys, I am Venkatesh Macha. I am a programmer and an Open Source enthusiast, Presently working as a Software Engineer. Apart from that, I love to explore new technologies and things.

You may also like...

Leave a Reply