Question: Problem Objective You are required to write an interactive object-oriented program which performs the following tasks: Reads 16 integers into a two-dimensional array. Prints the
Problem Objective
You are required to write an interactive object-oriented program which performs the following tasks:
Reads 16 integers into a two-dimensional array.
Prints the content of the array.
Notice (Requirements):
For each of the above operation, you must write a function to perform the required task. Each function must receive the array as its parameter and finds (returns) an appropriate answer.
1-Finds the sum of the first row.
2-Finds the sum of the first column.
3-Finds sum of the main diagonal (right main diagonal).
4-Prints the results using an appropriate format
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
