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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started