this must be in C++
tent-rid-64137077. 1/courses/2192-UTDAL CS-1336-sEC003-27531/2d assignment pdf y Home syeosmergleDiProcese 2 (Sum the major diagonal in a matrix) Write a method that sums all the nu in the major diagonal in an n × n matrix of double values using the foll header: public static double sumMajor Diagonal (double[l[l m) Write a test program that reads a 4-by-4 matrix and displays the sum of elements on the major diagonal. Here is a sample run: Enter a 4-by-4 matrix row by
OR
OR