Box Hints

Although problem 6 is relatively simple, there are a few worthwhile hints:

  1. The box is a two-dimensional structure: it's useful to use two nested for-loops, one for each dimension
  2. The outer for loop moves the cursor from top to bottom
  3. The inner for loop moves the cursor from the left to the right; don't print a new line until each line is complete
  4. Compare the two loops in the problem 5 solution