...

/

Solution Review: Creating Boards

Solution Review: Creating Boards

Overview of the solution to the exercise "creating boards."

We'll cover the following...

Solution

First, create a two-dimensional array. Since the sizes may vary, we cannot hardcode an array. So, settle for loops or methods which update the array dynamically. Create an array of size length (first argument). With this array, assign each index to an array of size width (second argument ...