Question: Write A C++ program that ask the user to enter an array [3] [3], which include the following functions: [1] A function named Diag_Sum()
Write A C++ program that ask the user to enter an array [3] [3], which include the following functions: [1] A function named Diag_Sum() to find the sum of both main and secondary diagonal elements for the array. [2] A function named Middle_array() to displays the elements of middle row and the elements of middle column of the array. [3] A function named Lower_half() that prints the lower half of the array.
Step by Step Solution
3.41 Rating (148 Votes )
There are 3 Steps involved in it
Heres a C program that fulfills your requirements cpp include using namespace std const int ROWS 3 c... View full answer
Get step-by-step solutions from verified subject matter experts
