Open-Source Rows!
public cpp v1 · immutable#include <iostream>using namespace std;int main(void){ int rows; cout << "How many rows?\n"; cin >> rows; cout << endl; for(int i = 0; i < rows; i++){ for(int x = 0; x <= i; x++){ cout << "*"; } cout << endl;} cout << endl;return 0;}