Program to find even or odd number (C++)

Program to find even or odd number

[xyz-ihs snippet=”Google-Adsense”]


#include <stdio.h>
#include <conio.h>
void main()
[xyz-ihs snippet=”200-x-90″]
int a;
printf(“Enter a number:”);
scanf(“%d”, &a);
if (a%2 == 0)
printf(“Even number!”);
printf(“Odd number!”);
getch ();
[xyz-ihs snippet=”200-x-90″]

“My posts/articles/images are not allowed to be stolen/copied anywhere at Cyber space. Doing so will allow me to take a legal action against the copier.”

Related Posts

Leave a Comment

Kindly solve the following puzzle to prove that you\'re not a bot: