Exercise 4 Given a square matrix such as the one below, write a program that changes the elements in the diagonal to zer
Posted: Fri Jul 01, 2022 6:53 am
Exercise 4 Given a square matrix such as the one below, write a program that changes the elements in the diagonal to zeros. The program will only work for square matrices. The elements in the diagonal are highlighted in red. = 0 -3 4 5 9 6 -12]