Computer Science, asked by keerthijoy902, 2 months ago

write a c++ program to check whether a number is even or odd​

Answers

Answered by rishavjaat71
3

Answer:

i dont now the answer please for give me please

Answered by devarchanc
0

C++ program

Explanation:

#include<studio.h>

#include<conio.h>

void main()

{

   int num;

   printf("Enter an integer");

   scanf("%d",&num);

   if (num%2==0)

   printf("It is an even number");

  else

  printf("It is an odd number");

}

Similar questions