Name: ____________________________________________________ Alpha: _____________________
Describe help received: _________________________________________________________________
* characters and the inside should be
empty. In particular, your program will read in a height, a
width, and an offset, and print out (in text) a rectangle of
the appropriate height and width, indented by the number of
spaces specified in the offset. Typical runs of your program
might look like this:
Enter height (greater than 2): 5 Enter width (greater than 2): 8 Enter offset: 3 ******** * * * * * * ******** |
Enter height (greater than 2): 5
Enter width (greater than 2): 4
Enter offset: 10
****
* *
* *
* *
****
|
Turn in this page, along with a printout of your code (using codeprint) and a screen capture showing it run with user input height=10, width=25, and offset=5, and showing it run with height = 3, width=3 and offset=1.