- #1
chmate
- 37
- 0
Hi!
Can anyone explain me what these lines are doing?
Thank you!
Code:
for (int i=0; i<=9; i++)
{
for (int j=0; j<i; j++)
cout << " ";
for (int j=i; j<=9; j++)
cout << "*"
cout << endl;
}
Can anyone explain me what these lines are doing?
Thank you!