int first = 10; for( int line = 0; line < 10; line++ ) { //inner loops for( int i = 0; i < first; i++ ) { cout << '*'; } // loop control at end first--; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)