I'm trying to modify a code I already have for a framed rectangle to make the user able to select how thick they want the border. This is an example of the desired output:
Welcome to Picture Maker!
Which shape should I draw? 3
Fill Character? *
Width? 8
Height? 5
Outline Width? 2
********
********
** **
********
********
And currently my output is this:
********
* *
* *
* *
********
I'm trying to understand how to modify the math in my existing code to make the frame. As always, help is very appreciated. Thank you.