Name: ____________________________________________________ Alpha: _____________________

Describe help received: _________________________________________________________________

Your assignment is to write a program that prints rectangles (in text) on the screen. The outline of the rectangles should be in * 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

          ****
          *  *
          *  *
          *  *
          ****
  
As you write this program, try to make use of the process of stepwise refinement that we discussed in lecture.

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.