Sunday, September 9, 2012

WAP to find EVEN numbers using FOR LOOP


#include<stdio.h>
#include<conio.h>
void main()
{
int i;
clrscr();
for(i=1; i<=10; i++)
{
if(i%2==0)
{
printf("%d\n",i);
}
}
getch();

}