Design a program using JAVA Language with a loop that asks the user to enter a SERIES of positive nu 1 answer below »

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Order a Similar Paper HERE Order a Different Paper HERE

Design a program using JAVA Language with a loop that asks the user to enter a SERIES of positive numbers. The user should enter a negative number to signal the end of the series. After all the positive numbers have been entered, the program should display their sum.

Has to compile and work using JAVA language please.

A sample output the teacher asked for is

OUTPUT:

Enter number

5

Enter number

10

Enter number

15

Enter number

-5

Sum is 30