Question: Write a C + + program to do the following : Accept the size of the array from the keyboard. The size must be greater

Write a C++ program to do the following :
Accept the size of the array from the keyboard. The size must be greater than zero and less tham thirteen.
Create two 2D Arrays (Array_1, Array_2). Each array is of size nn.
Write a function to populate both arrays with distinct random numbers that are between 1 and 144.
Write a function to display both arrays.
Write a function to add Array_1 to Array_2 and place the result in Array_3. Display Array_3.
Write a function that calculates and displays the sum of elements of each row in Array_1.
Write a function that calculates and displays the sum of elements of each column in Array_1.
Write a function that calculates and displays the sum of both diagonal elements in Array_1.
Write a function to determine whether Array_1 is a special array. special Array is an arrangement of distinct numbers (i.e. each number is used once), usually integers, in a array grid, where the numbers in each row, and in each column, and the mumbers in the main and secondary diagonals, all add up to the same number.
Repeat the above steps until the user terminates the program.
 Write a C++ program to do the following : Accept the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!