in C++Tax + blackboard anythos prod/5a1ba5b367/5599905 response content disposition=inline% – Two-Dimensional Array Operations Create a file called Your IslandID_tdao.cpp 20filename + %3DUTF-827%27Assignments.2520 sit to page Page view Write a program that creates a two-dimensional array of size 4×5. Initialized your array with test data. Use any data type of your wish. The program should have the following functions: • get Total – This function should accept a two-dimensional array as its argument and return the total of all the values in the array. getAverage. This function should accept a two-dimensional array as its argument and return the average of all the values in the array. • getRowTotal – This function should accept a two-dimensional array as its first argument and an integer as its second argument. The second argument should be the subscript of a row in the array. The function should return the total of the values in the specified row. getColumn Total – This function should accept a two-dimensional array as its first argument and an integer as its second argument. The second argument should be the subscript of a column in the array. The function should return the total of the values in the specified column. getHighest InRow – This function should accept a two-dimensional array as its first argument and an integer as its second argument. The second argument should be the subscript of a row in the array. The function should return the highest values in the specified row of the array. get Lowest InRow – This function should accept a two-dimensional array as its first argument and an integer as its second argument. The second argument should be the subscript of a row in the array. The function should return the lowest values in the specified row of the array Postimimaalla Show transcribed image text Tax + blackboard anythos prod/5a1ba5b367/5599905 response content disposition=inline% – Two-Dimensional Array Operations Create a file called Your IslandID_tdao.cpp 20filename + %3DUTF-827%27Assignments.2520 sit to page Page view Write a program that creates a two-dimensional array of size 4×5. Initialized your array with test data. Use any data type of your wish. The program should have the following functions: • get Total – This function should accept a two-dimensional array as its argument and return the total of all the values in the array. getAverage. This function should accept a two-dimensional array as its argument and return the average of all the values in the array. • getRowTotal – This function should accept a two-dimensional array as its first argument and an integer as its second argument. The second argument should be the subscript of a row in the array. The function should return the total of the values in the specified row. getColumn Total – This function should accept a two-dimensional array as its first argument and an integer as its second argument. The second argument should be the subscript of a column in the array. The function should return the total of the values in the specified column. getHighest InRow – This function should accept a two-dimensional array as its first argument and an integer as its second argument. The second argument should be the subscript of a row in the array. The function should return the highest values in the specified row of the array. get Lowest InRow – This function should accept a two-dimensional array as its first argument and an integer as its second argument. The second argument should be the subscript of a row in the array. The function should return the lowest values in the specified row of the array Postimimaalla
Expert Answer
Answer to Tax + blackboard anythos prod/5a1ba5b367/5599905 response content disposition=inline% – Two-Dimensional Array Operations…