Jun 7, 2007

C++ Program To Generate this Series: 1 10 100 1000 10000 100000

#include<iostream.h>
#include<conio.h>
main()
{
clrscr();
float k=1;

for (int i=1;i<=8;i++)
{
cout << k <<endl;
k = k*10;
}
getch();
}

No comments:

Post a Comment

Infolinks In Text Ads

Total Pageviews

Powered by Blogger.

Dont Forget To Follow Us

Blog Archive