Project 10-1: Account Balance Calculator
Update the Account Balance Calculator so its code is stored in packages. The functionality of the application should stay the same.
Welcome to the Account application
Enter the transactions for the month
Withdrawal or deposit? (w/d): w
Checking or savings? (c/s): c
Continue? (y/n): y
Withdrawal or deposit? (w/d): d
Checking or savings? (c/s): s
Continue? (y/n): n
Monthly Payments and Fees
Checking fee: $1.00
Savings interest payment: $12.00
Your instructor should supply you with a starting project.
Add the following packages to the application:
Move the Balanceable, Depositable, and Withdrawable interfaces to the interfaces package. If the IDE identifies any errors, fix them. Then run the application to make sure it still works as expected.
Move the Account, CheckingAccount, and SavingsAccount classes to the account package. Move the Console class to the presentation package. And move the AccountBalanceApp class to the app package. If the IDE identifies any errors, fix them. Then run the application to make sure it still works as expected.