Question: A C++ program Write a program to keep track of a checking account bank balance a. Display a welcome message including the name of your
A C++ program
Write a program to keep track of a checking account bank balance a. Display a welcome message including the name of your bank b. Display an exit message when the user selects exit the program c. Provide the user with 4 options: Balance inquiry, make a deposit, make a withdrawal, exit the program d. Use a loop. In the loop ask the user to enter the transaction type: inquiry, deposit, withdrawal until the user would like to exit the program e. Use an if/else if or switch control structure to process actions to be performed after user select inquiry, deposit, or withdrawal f. Display the bank balance when the user selects with Balance Inquiry option g. Write the definition of a void function that takes as input the bank balance, asks the user for the amount of a deposit, updates and displays the bank balance h. Write the definition of a void function that takes as input the bank balance, asks the user for the amount of a withdrawal, updates and displays the bank balance i. Use reference variables as parameters for bank balance when calling the void functions j. use sample data: initial balance $50, deposit $100, withdrawal $25 k. program runs without errors
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
