Question: in c++ console Write a program that creates a 5 by 5, two-dimensional array that store 25 integers and the program will call five functions.
in c++ console
Write a program that creates a 5 by 5, two-dimensional array that store 25 integers and the program will call five functions.
Function display(): the program will display all the integers (in the 5 by 5 format) Function calculateTotal(): the program will return the total of the 25 integers Function totalRow(): returns and displays a 5-element array with each of the element showing the total of all the elements of the same row in the 5 by 5 array. Function totalColumn(): returns and displays a 5-element array with each of the element showing the total of all the elements of the same column in the 5 by 5 array Function maximum(): returns the largest value in the 5 by 5 array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
