Topic: Array Problem / Level: beginner

Problem: Replace all elements in a 2D matrix that are smaller than the diagonal elements with zero.

Run the code to see the output here...