Jun 7, 2007

Series 1 11 111 1111............

#include<iostream.h>
#include<conio.h>
main()
{
clrscr();
float k=1;
for (int i=1;i<=8;i++)
{
cout << k <<endl;
k = k*10+1;
}
getch();
}

No comments:

Post a Comment

Infolinks In Text Ads

Total Pageviews

Powered by Blogger.

Dont Forget To Follow Us

Blog Archive