Untitled
unknown
c_cpp
a year ago
203 B
6
Indexable
#include <iostream> using namespace std; int main() { int n = 0; cin >> n; for (int i = 1; i<=n; i++) { for (int j = 0; j < i; j++) { cout << "*"; } cout<<"\n"; } }
Editor is loading...
Leave a Comment