Untitled

mail@pastecode.io avatar
unknown
c_cpp
a year ago
179 B
4
Indexable
Never
#include <iostream>
using namespace std;

int main() { 
    for (int i=0; i < 5; i++) {
        for ( int j = 0; j < i+1; j++ )
        cout << "*" << endl; 
    }
    return 0;
}