Question: Implement a program that finds the largest element in a two-dimensional array of size 5 by 4: use the following constant declarations in your program.
Implement a program that finds the largest element in a two-dimensional array of size 5 by 4: use the following constant declarations in your program.
const int NUMBER_OF_ROWS = 5;
const int NUMBER_OF_COLUMNS = 4;
Follow the following steps.
1. Get user input to populate 20 cells of the array.
2. Print the components of the array to the screen.
3. Find the largest element in the array. (only one value)
4. Print the largest element to the screen.
C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
