Problem 2: Hollow Rectangle
Print a hollow rectangle of asterisks to the screen. You must read in the width, height, and border thickness of the rectangle from the user. The meaning of these numbers is best understood through examples. If the user enters numbers that don't produce a valid rectangle, your program should instead print a message indicating that there is a problem with the input.
Sample output 1 (Program output is bold, user input is in italics)
Enter the width of the rectangle
8
Enter the height of the rectangle
7
Enter the thickness of the rectangle's border
3
********
********
********
*** ***
********
********
********
Sample output 2 (Program output is bold, user input is in italics)
Enter the width of the rectangle
12
Enter the height of the rectangle
6
Enter the thickness of the rectangle's border
2
************
************
** **
** **
************
************
Sample output 3 (Program output is bold, user input is in italics)
Enter the width of the rectangle
6
Enter the height of the rectangle
10
Enter the thickness of the rectangle's border
4
The thickness you specified is too great relative the width of the rectangle.