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 "amount "amount "amount "amount "amount
Calculate the sum of the numbers "amount "amount "amount "amount "amount
If the sum is greater than print out the sum
If the sum is equal to zero, printout "Your account balance is zero"
If the sum is less than print out "Your account is overdrawn" and the "negative amount"
Round all print values to decimal place
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
