Lecture Assignment 2

Write a program segment to display the sum of the values in each row of a 5 × 3 type double array named table. How many row sums will be displayed? How many elements are included in each sum? 
Submit the source code, and a document showing the input/output of the program and answers to the above questions.