Answer :

#include<stdio.h> //header file contains the function,decleraction and macro defination of key words used in code.

int main ()

{

int number;  //adressing the variables

printf("Enter any number you like");  //output

scanf("%d",&number); //stores the input from users

if  (number%2==0) //condition

{

printf("%d is a even number",number); //if the given condition is true then this statement will be printed.

}

else

{

printf("%d is a odd number",number);  //if the given condition is false then this statement will be printed

}

}

Output :