Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- main()
- {
- int a, b;
- for (a=1; a <= 8; a++){
- for (b=1; b <= a; b++){
- cout << a;
- }
- cout << "\n";
- }
- }
- /**
- 1
- 22
- 333
- 4444
- 55555
- 666666
- 7777777
- 88888888
- **/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement