Question: Write a program that does the following in order: 1. Ask user to enter a name 2. 3. Ask the user to enter five

Write a program that does the following in order: 1. Ask user to enter a name 2. 3. Ask the user to enter five numbers "amount1", "amount2", "amount3", "amount4", "amount5" Calculate the sum of the numbers "amount1", "amount2", "amount3", "amount4", "amount5" If the sum is greater than 0, print out the sum 4. 5. If the sum is equal to zero, print out "Your account balance is zero" If the sum is less than 0, print out "Your account is overdrawn" and the "negative amount" Round all print values to 1 decimal place 6. 7.
Step by Step Solution
3.25 Rating (146 Votes )
There are 3 Steps involved in it
Heres a Python program that does what youve described python Step 1 Ask user to enter a name name ... View full answer
Get step-by-step solutions from verified subject matter experts
