Duplicate Question
The question on this page has been marked as a duplicate question.
Original Question
I need to create a program that has (at least) two variables, char and num. I need to use nested loops to print char, a charact...Asked by Kwadwo
I need to create a program that has (at least) two variables, char and num. I need to use nested loops to print char, a character, in the form of the following pattern on as many lines and as many times as specified by num. For example, if char is “M” and num is 5, then the program will draw the following pattern:
M
MM
MMM
MMMM
MMMMM
M
MM
MMM
MMMM
MMMMM
Answers
There are no AI answers yet. The ability to request AI answers is coming soon!
There are no human answers yet. A form for humans to post answers is coming very soon!