Pages
Home
C++/C- Programs
DOS Commands
BS Communication
Mathematics
Advertisement
About Us
Contact us
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();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment