#include <iostream> using namespace std; int main() { int size, c = 0; cin >> size; for (int i = 0; i < (size + 1); i++) { for (int j = 0; j < i; j++) { cout << '*'; } cout << "\n"; } }