Bhuvan InfoTech
New Technology is Common, New thinking is rare
Pages
News
Tricks
C Programming
CSS
Java Script
Projects
Bhuvan InfoTech Android App
Download our
Android App
and browse Technical News, Projects, Computer Tricks more easily with lots of Interesting Features.
Download Now
Tuesday, June 14, 2016
Check the number is even or odd | C program
#include<stdio.h>
int main()
{
int a;
printf("Enter a number: ");
scanf("%d",&a);
if(a%2==0)
printf("Even Number");
else
printf("Odd Number");
return 0;
}
Bhuvan Arora
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Amazing Deal !
No comments:
Post a Comment