I had an assignment that asked me to create a program like this:
"
Enter the letter: X
Enter the number: 7
Here is your shape:
XXXXXXX
XXXXXXX
XXXXXXX
XXXXXXX
XXXXXXX
XXXXXXX
XXXXXXX
"
What type of loop would I use to create a program like the example above?