Topic: Array Problem / Level: beginner

Problem: Find the sum of the first and last elements of each row in a 2D matrix.

Run the code to see the output here...