Question: You are supposed to implement a C++ program that mimics some of the processes in a bank. The customers are lined up in a

You are supposed to implement a C++ program that mimics some of the processes in a bank. The customers are lined up in a queue and wait their turn in order to perform the following actions: withdraw money, deposit money, lend their money at interest (you can assign a default value), etc. These operations should be processed through a menu. Therefore, we should be able to choose the operations and enter the data which will be processed by the rest of your code. An example can be seen below: 1. Withdraw Money 2. Deposit Money 3. Lend Money at Interest 4. ... At the end of each operation, each customer will receive a bill showing the list of their activities. This list should include the most recent activity at the top and the least recent activity at the bottom. In order to perform this operation, you will use a stack which will reverse the activities from latest to the oldest. An example can be seen below: Customer Name: ABCDE Customer Surname: ABCDE Customer ID: 123456 Account Movements/Statements: 14.15- the customer withdraws 15 dollars from account 14.00- the customer lends money at interest 13.55- the customer deposits 50 dollars into account
Step by Step Solution
3.45 Rating (155 Votes )
There are 3 Steps involved in it
To implement this C program youll need to use a stack to keep track of the customers transactions and a menu to allow the user to perform operations l... View full answer
Get step-by-step solutions from verified subject matter experts
