Untitled

 avatar
user_5811307
plain_text
6 months ago
225 B
0
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
    int a;
    cin >> a;
    for (int i =1; i <= a;i++)
    {
        for (int s =0; s < i;s++)
        {
            cout << "*";
        }
        cout << "\n";
    }
}
Leave a Comment