Could someone please take a look at my code and give me a hint as to what I am doing wrong. I am trying to print a square pattern out of the type of character and number of characters the user chooses to print.
ie:
The user chooses to print to the screen the character $.
The user chooses to print this character 5 times.
The output should look like this
$$$$$
$$$$$
$$$$$
$$$$$
$$$$$
Please see attachment of source code I have been working with.
MY code will print the right amount of characters down but only 2 characters across no matter what number of characters are entered.
Thank you!