Question: Write a program that does the following in order: Ask user to enter a name Ask the user to enter five numbers amount 1

Write a program that does the following in order:
Ask user to enter a name
Ask the user to enter five numbers "amount1", "amount 2", "amount 3", "amount4", "amount5"
Calculate the sum of the numbers "amount1", "amount2", "amount3", "amount4", "amount5"
If the sum is greater than 0, print out the sum
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
 Write a program that does the following in order: Ask user

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!