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.

Console
Welcome to the Account application

Starting Balances

Checking: $1,000.00

Savings:  $1,000.00

Enter the transactions for the month

Withdrawal or deposit? (w/d): w

Checking or savings? (c/s): c

Amount?: 500

Continue? (y/n): y

Withdrawal or deposit? (w/d): d

Checking or savings? (c/s): s

Amount?: 200

Continue? (y/n): n

Monthly Payments and Fees

Checking fee:              $1.00

Savings interest payment:  $12.00

Final Balances

Checking: $499.00

Savings:  $1,212.00

Specifications
Your instructor should supply you with a starting project.

Add the following packages to the application:

yourLastName.app
yourLastName.interfaces
yourLastName.account
yourLastName.presentation

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.

Leave a Comment

Your email address will not be published. Required fields are marked *