Topic: Matrix Manipulation Problem / Level: beginner

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

Run the code to see the output here...