(Sum the major diagonal in a matrix) Write a function that sums all the double values in the major diagonal in an n×n matrix of double values using the following header:
const int SIZE = 4 ;double sumMajorDiagonal(const double m[][SIZE]);
Write a test program that reads a 4-by-4 matrix and displays the sum of all its elements on the major diagonal. Here is a sample run:

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.