exercise 1 write a java method reverse0 that reverses the first diagonal of a square 5188019
Exercise 1 Write a Java method reverse0 that reverses the first diagonal of a square matrix of order n (maximum value of n is 10). Write a complete program to test the method and prints out the matrix before and after the modification.