How would i go about in writing a program that prints the following diagram just as it appears. It's suppose to be a rectangle but it doesn't come out like one when i hit preview.
I guess I'd look at this as two rows of the rectangle (first and last) have one pattern, and the other rows have a different pattern. Nested for loops could be used to control rows and columns and determine what to print out.