Question: Design and implement a Java program that prompts the user to enter a series of positive integer numbers. The program should accept integers until the
Design and implement a Java program that prompts the user to enter a series of positive integer numbers. The program should accept integers until the user enters the value - 1 (negative one). After the user enters -1, the program should display the entered numbers followed by their sum as shown below. Notice that -1 is not part of the output. Entered Number: 10, 2, 13, 50, 100 The Sum: 175 * I cant use arrays, thank you.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
