#include<stdio.h>
#include<stdlib.h>
Void main()
{
Int a;
{
Int a;
Printf("Enter a number ") ;
Scanf(" %d", & a) ;
Scanf(" %d", & a) ;
if(a%2==0)
{
Printf(" %d is a even number ", a) ;
}
else
{
Printf(" %d is a odd number ", a) ;
}
{
Printf(" %d is a even number ", a) ;
}
else
{
Printf(" %d is a odd number ", a) ;
}
}
Simple Out put :
Enter the number : 3 3 is a odd number