Java Program to sum all the elements in an array(user inputs).1 min read

Output: