Untitled

Anonymous
c_cpp
10/16/2023 5:10 PM
240 B
18
Indexable
#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;
}
Editor is loading...