test
This commit is contained in:
testwhei23h5iur2 2024-03-31 09:21:44 +00:00
parent e3821f2b17
commit 57535c5de3
1 changed files with 14 additions and 0 deletions

14
main.cpp Normal file
View File

@ -0,0 +1,14 @@
#include <iostream>
int main()
{
int n{};
std::cin >> n;
for (int i = 0; i < n; i++) {
std::cout << '*';
for (int j = 0; j < i; j++) {
std::cout << "*";
}
std::cout << std::endl;
}
}