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