Odpowiedź:
using namespace std;
int main()
{
int a;
cin >> a;
for (int i = 1; i <= a; i++)
for (int j = 1; j <= i; j++)
cout << "*";
}
cout << endl;
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
Odpowiedź:
using namespace std;
int main()
{
int a;
cin >> a;
for (int i = 1; i <= a; i++)
{
for (int j = 1; j <= i; j++)
{
cout << "*";
}
cout << endl;
}
}