Project Description

Project Description Write an application that creates different bank accounts. You have to design an object-oriented solution using two classes.

"BankAccount" class:

Variables (Attributes):

a.first name
b.last name
c.yearly interest rate
d.balance

Functions (Methods):

1.default constructor
2.constructor with one parameter (yearly interest rate)
3.properties

"BankAccountTest" class: instantiate two objects of the BankAccount class, checking and saving accounts and use the constructor to initialize the yearly interest rate for each account (0.5% for checking account, 2.3% for saving account).

Allow the user to input his/her name and the balances for both accounts. After the user inputs all the data, the program displays user's name and initial balances for both accounts. Then, the program calculates the balances with the interest after one year and updates the balances for both accounts (objects) and displays the new balances for both accounts. Repeat the step for two years of balance and display the new balance after two years for both accounts.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.