Nested Loops: Squares

The goal for this exercise is to make sure that you can use nested loops.

What you need to do to prepare for this exercise:


What you need to do for this exercise

In the starter project, fill in the Nested_Loops_Rectangles.RunExercise method, so that it will print out a solid block of *’s to the screen. The user should be prompted to enter the size of the sides of the square.

An example transcript of what your program might look like follows. User input looks like this.

Welcome to RectanglePrinter!
How many columns wide should the rectangle be? 6
How many rows tall should the rectangle be? 3
Here you go:
******
******
******