answersLogoWhite

0

#include<stdio.h>

#include<conio.h>

void main()

{

int n;

printf("ENTER NO FOR CHECK........ ");

scanf("%d", &n);

if(n%2==0)

printf("Given No is EVEN");

else

printf("Given No is ODD");

getch();

}

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga

Add your answer:

Earn +20 pts
Q: Program to check whether the entered number is even or odd?
Write your answer...
Submit
Still have questions?
magnify glass
imp