write a c++ program to check whether a number is even or odd
Answers
Answered by
3
Answer:
i dont now the answer please for give me please
Answered by
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