...

/

Exercise 3: Sum the Rows of a Matrix

Exercise 3: Sum the Rows of a Matrix

Write code that calculates the array produced by summing the entries of each row of a matrix.

Problem statement

In this exercise, you’re given a nested array. Sum the entries ...