c program for finding even and odd number

c program for check given number as odd number

c program for check given number as even number

Program:-

Method 1
c program for finding even and odd number using if - else statement



Method 2
c program for finding even and odd number using condition statement



Output:-

Enter a number
8
Even number

Output:-

Enter a number
23
Odd number

One Comment

Add your comments here

Back to Top