Showing posts with label Odd And Even Number Program. Show all posts
Showing posts with label Odd And Even Number Program. Show all posts

Feb 2, 2013

Odd And Even Number Program

/*Odd And Even Number Program*/

#include"stdio.h"
#include"conio.h"
#include"math.h"
void main()
{
clrscr();
int n;
printf("Enter the Value of n=");
scanf("%d",&n);
if(n%2==0)
printf("This is an Even Number");
else
printf("This is an Odd number");
getch();
}

Popular Posts