Untitled

 avatar
user_5811307
plain_text
2 years ago
225 B
3
Indexable
#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";
    }
}
Editor is loading...
Leave a Comment