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 D Arrays Array Array Each array is of size
Write a function to populate both arrays with distinct random numbers that are between and
Write a function to display both arrays.
Write a function to add Array to Array and place the result in Array Display Array
Write a function that calculates and displays the sum of elements of each row in Array
Write a function that calculates and displays the sum of elements of each column in Array
Write a function that calculates and displays the sum of both diagonal elements in Array
Write a function to determine whether Array is a special array. special Array is an arrangement of distinct numbers ie 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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
