Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to replace the diagonal elements with their respective row sums.

Run the code to see the output here...