The Multiplication Program
Step 1: Write a program that stores a multiplication table in a 9-by-9
two-dimensional array. Generate the multiplication table with two
loops. (So you will have a nested loop that will iterate 9 times and fill
the 9x9 array with the values.)
Step 2: Display the table for the user to see it.
Here is an example of a multiplication table that is 12x12. You will just go to 9.
Step 3: Create a function that returns the product of two numbers
between 1 and 9 by looking up the product in the array. Example: if
the user enters 9 and 2 the program will look up the answer in the two
dimensional array and display 18.
... Purchase answer to see full
Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.