#include using namespace std; int main() { int width, height; cout << "Enter height: "; cin >> height; width = 1; for (int i = 0; i < height; i++) { for (int j = 0; j < width; j++) { cout << "* "; } cout << '\n'; width++; } return 0; }