Umi Devi
Weblog From a Girl for All People and Telling About All Infomation
Jan 27, 2007
C++ Program to generate odd numbers
This
C++ program generates odd numbers
between 1 to 20
main()
{
clrscr();
int i;
for (i=1;i<=20;i=i+2)
{
cout<<i<<endl;
}
getch();
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment