Question: C++ (1)Fill & Output a two dimensional array to produce 4 x 5 multiplication table ( 4 rows, 5 columns, 1 being the smallest value).

C++

(1)Fill & Output a two dimensional array to produce 4 x 5 multiplication table ( 4 rows, 5 columns, 1 being the smallest value). Below is part of what the array would look like. Use tabs

1 2 3 4 5 2 4 6 ... 3 6 ... 4 ... 

(2) Allow the computer to determine the largest value in the array

(3) Allow the user to input a value from the array and have the location output (if the number exists multiple times in the array, each location should be output.

(4) Subtract the max value from Numbers[2][3] (calculation using the location must exist in the program)

Example

The largest number in the array is: 20 Input a number: 2 Your number is at Numbers[0][1] The difference between the max value and Numbers[2][3] is:12 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!