Develop a customer banking system that enables users to calculate and monitor interest accrued on savings and CD accounts. This application allows users to input their account details, view interest earned, and check updated balances over a specified period.
- Module 3 Challenge files.
- Repository:
customer_banking - Clone and push changes to GitHub or GitLab.
- Import the
Accountclass fromAccounts.py. - Implement
create_savings_accountfunction to:- Instantiate
Accountwith balance and interest. - Calculate interest: $$ interest = balance \times \left(\frac{apr}{100} \times \frac{months}{12}\right) $$.
- Update balance with interest.
- Return updated balance and interest earned.
- Instantiate
- Import the
Accountclass fromAccounts.py. - Implement
create_cd_accountfunction to:- Instantiate
Accountwith parameters. - Calculate and update interest earned.
- Return updated balance and interest earned.
- Instantiate
- Import
create_cd_accountandcreate_savings_accountfunctions. - Prompt user for account details.
- Calculate and display interest and updated balances.
- Utilize functions, classes, and methods learned so far.
- Start with a single Python file, then separate functions into different files.
- Commit work regularly and ensure a detailed README.md file.
- Import
Accountclass correctly. - Create
Accountinstance with balance and interest. - Calculate interest earned and update balance.
- Pass updated balance and interest to
Accountmethods. - Return updated balance and interest earned.
- Import
Accountclass correctly. - Create
Accountinstance with parameters. - Calculate interest earned and update balance.
- Pass updated balance and interest to
Accountmethods. - Return updated balance and interest earned.
- Prompt user for savings and CD account details.
- Print out interest earned and updated account balances.
- Call the main function to execute the program.