It's a good problem, and I liked that you've included even a motivation for it (most problems at Cody are unpolished and unlike yours). However, most Cody players would probably skip this problem because programming problems are usually very objective, they will give us a task with maybe some examples of expected output.
1344 Solvers
1742 Solvers
3987 Solvers
Sum of diagonal of a square matrix
1333 Solvers
442 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!