5 Answers
New AnswerYes you need the length. And I would use two loops. one for the row: for (int i = 0; i < length; i++){ //inside one for the line for (int j = 0; j < i; j++){ //print the chars } }
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message