#include <iostream> using namespace std; int main (void) { int i,j; freopen("out.txt","w",stdout); for(i=1;i<=6;i++) { for(j=1;j<=i+i-1;j++) cout<< i; cout<< "\n"; } }
The Output is Given Below:
1 222 33333 4444444 555555555 66666666666
c, c++ , java, oracle, database design, c tutorial, c++ tutorial, java tutorial, oracle tutorial, programming, make program easy, c programming, c advance program, java advance program
#include <iostream> using namespace std; int main (void) { int i,j; freopen("out.txt","w",stdout); for(i=1;i<=6;i++) { for(j=1;j<=i+i-1;j++) cout<< i; cout<< "\n"; } }
1 222 33333 4444444 555555555 66666666666
All rights reserved||Using Deluxe Template By Klodian
0 comments:
Post a Comment