/* C program to print whether a number is even or odd */

C Program to print whether a number is even or odd.



     In this program, input by user and do check this number is odd vs even number using if - else statement and show output this number is odd vs even.

Understand algorithms




Take input to user 
user input - 5

/* check to loop */ 
if ( num % 2 == 0)
print =  number is even.


else 
print =  number is odd.
/* loop end */

output - Number is odd.   
Let's Start --

Program ---
C Program to print whether a number is even or odd.


Output --- 
C Program to print whether a number is even or odd.


Thanks for reading .