PHW12: MultiplicationTable

In this PHW, you will practice working with two-dimensional arrays in main and as a reusable class.

Part 1: Understanding the problem through main

We will be creating a 2-dimensional array that will take a width, height, & scaling factor and create a multiplication table based on the scaling factor:

Instructions

Now that you understand what you’re implementing, you’re ready to try rewriting it in a reusable, object-oriented way.

Demonstration

Once you’ve finished doing the practice HW a single time, watch me do it:

Part 2: Make it reusuable with an OO MultiplicationTable class

Instructions

Demonstration

Once you’ve finished doing the practice HW a single time, watch me do it: