Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include "iostream"
- using namespace std;
- int main()
- {
- int h = 0;
- for (int i = 0; i < 5; i++) {
- h = h++;
- for (int j = 0; j < h; j++) {
- cout << '#';
- }
- cout << endl;
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement