Coding Challenge: Arrays Sum

Let's practice how to input arrays and return the sum of all the numbers of the sub-arrays.

Problem statement

Complete the following ...