Friday 10 August 2012

Even and odd number in c program

Simple even and odd number program in c language
#include<stdio.h>
#include<conio.h>
main()
{
int i;
clrscr();
for(i=0;i<=30;i++)
{
if(i%2==0)
{
printf("even values are%d",i);
}
else
{
printf("odd number");
}
}
getch();
}
Share This
Previous Post
Next Post

FYJC XI standard online admisson Process and declaraton of Merit list . Cut off List For prevous year also . 10 Th Results onlne declaraton Maharashtra Region .

0 comments: