Umi Devi
Weblog From a Girl for All People and Telling About All Infomation
Jan 27, 2007
C++ Program to print even numbers (table of 2)
Here is a
C++ program to generate series of even numbers
using for loop.
main()
{
clrscr();
int i;
for(i=2;i<=20;i=i+2)
{
cout<<i<<endl;
}
getch();
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment