#include using namespace std; //Bai 10 int main() { int n; cout << "Enter n: "; cin >> n; int count = 0; for (int i = 1; i; i += 2) { int temp = i; while (temp) { cout << "*"; temp--; } cout << '\n'; count++; if (count == n) break; } }