Java Program to calculate sum of N given numbers

Description

Get input n and n inputs and calculate the sum of n inputs.
Input:
4
6 5 3 2
Output:
The sum is: 16

Solution

Unable to open file!