Using method to compute the sum of n numbers, not getting the return value

Printable View