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=a; b <= 8; b++){
- cout << a;
- }
- cout << "\n";
- }
- }
- /**
- 11111111
- 2222222
- 333333
- 44444
- 5555
- 666
- 77
- 8
- **/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement