Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PROMPT Imagine that you are working at a bank, and you are asked to create a program that stores the following for a user: A
PROMPT
Imagine that you are working at a bank, and you are asked to create a program that stores the
following for a user:
A checking account with the amount of each transaction in a list.
A savings account with the amount of each transaction in a list.
The total amount of money in the checking account.
The total amount of money in the savings account.
In addition to this, there are several operations that a user should be able to perform:
A user should be able to either withdraw or deposit money from either their checking or
savings account. This means they should be prompted to enter whether they'd like to
withdraw or deposit and then whether they'd like to do so from or to their checking or
savings account.
A user should be able to see the balance in their checking or savings account.
A user should be able to view how many transactions are in each account.
A user should be able to see the total balance between both their checking and savings
account.
A user should be able to quit the banking program after typing in the input.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started