Umi Devi
Weblog From a Girl for All People and Telling About All Infomation
Feb 24, 2007
C program to generate even numbers
C program to generate even numbers using while loop.
#include<stdio.h>
main()
{
int a=0;
clrscr();
while (a<20)
{
a=a+2;
printf("\n%d",a);
}
getch();
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment