Question: Need help writing this program in Python. Write a program with a loop that asks the user to enter a series of positive numbers. The

Need help writing this program in Python.
Write a program with a loop that asks the user to enter a series of positive numbers. The user should enter a negative number, -99, to signal the end of the series. After all the positive numbers have been entered, the program should display their sum. But when a negative number is entered, the program should display a phrase like The number should be positive or -99 to quit!
 Need help writing this program in Python. Write a program with

Enter a positive number (negative 99 to quit): 9 Enter a positive number (negative 99 to quit): -3 The number should be positive or -99 to quit! Enter a positive number (negative 99 to quit): 8 Enter a positive number (negative 99 to quit): -99 Total = 17.00

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!