Question: Write a program which prompts the user to input their name, checking account balance and savings account balance. If the checking account balance is below

Write a program which prompts the user to input their name, checking account balance and savings account balance. If the checking account balance is below $10, the checking account balance is too low. If the savings account balance is below $100, the savings account balance is too low. Depending upon the values input by the user, display the name and one of the following messages: Your checking account balance (actual value) is too low. (For example, Your checking account balance ($4.19) is too low.) Your savings account balance (actual value) is too low. Both your checking (actual value) and savings (actual value) account balances are dangerously low. Both your checking (actual value) and savings (actual value) accounts are in good shape. Save the class as Balance.java

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!