Hospitality – Smart draw
February 2, 2020
L03 Diversity Analysis Writing Assignment
February 2, 2020
Show all

Project 10-1 Account Balance Calculator

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.

 

“Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!”

 

"Are you looking for this answer? We can Help click Order Now"