Question: Steps: Add a new main menu to offer the user a choice of processing a single transaction, generate multiple transactions, or quit the program. This

Steps:
Add a new main menu to offer the user a choice of processing a single transaction, generate multiple transactions, or quit the program. This menu must consist of the first outputs displayed when your program begins executing. The menu format must match the one in Sample Run Video A.
If a Single Transaction option (Choice A) is selected, the program must allow for the user to enter and process the same information for a single transaction (deposit (cash only or change only) or withdrawal) from Project 1. The inputs must be updated to ensure that the user has unlimited chances to enter valid information in the event of an erroneous input of a menu choice, denomination of cash, denomination of a coin amount, or an invalid withdrawal amount. If the users account balance is less than $5.00, inform them of a low account balance and proceed with a deposit. Review Sample Run Video A to see how the updated error handling through input validation must look. NOTE: This is a 100-level course, validation across inputs is not required and concepts that are used that are outside of covered chapters and/or the course will result in demerits. Upon completion of a successful single transaction, display the transaction receipt including a breakdown of the currency amounts along with updated account balance information for the customer, then return to the main menu.
Add functionality to display randomly generated transactions. When the user selects the option to generate multiple transactions (Menu Choice B), the user must be asked to enter the number of transactions they wish to generate. Clickety Clank only wants users to simulate between 1 and 10 randomly generated transactions at a time. Once a valid number of transactions has been requested, then random values must be used to generate the type of transaction (Deposit or Withdrawal), the type of deposit (Cash only or Change only in the event a Deposit is generated), the amount of money transacted, and the breakdown of the amounts of each denomination of each transaction. NOTE: the randomly generated transactions must not have any impact on the users current account balance, they are simply generated to demonstrate simulated account transactions. Each transaction display generated must show the transaction type (Deposit or Withdrawal), a breakdown of all the denominations of money in the transaction, as well as total of the amount transacted. See Sample Run Video A for what each random generated transaction output must contain. The example contains 5 outputs, but your program must be able to process any number of generated transactions based on the number of transactions the user chooses. Validate the input of the number of transactions so that the user must enter at least 1 transaction to generate and no more than 10 transactions. Give the user an unlimited number of chances to enter a valid number of transactions. Once all the information from the transactions has been processed, return to the main menu.
Allow the user to continue making choices from the main menu until they choose the option to Exit (Menu Choice C). Always display the menu before prompting the user for a menu option. Properly handle an invalid menu choice. Your program code must allow the user to have an unlimited number of chances to enter a valid menu choice.
Once the option to Exit (Menu Choice C) has been selected from the main menu, generate and display a report of all the transactions that have been made during the session. The report must contain the following information: The users personal account balance, the number of total transactions (single and randomly generated), a breakdown of the number of single transactions into counts of deposits and withdrawals, a breakdown of the number of randomly generated transactions into counts of randomly generated deposits and randomly generated withdrawals, the total number of deposits and withdrawals, a breakdown of all counts of denominations of money in all transactions and the amounts transacted by each denomination, and the total amount of money transacted with a breakdown of the total amount of money deposited across all transactions and the total amount of money withdrawn across all transactions. If there are no transactions, display that there were no transactions based on the messaging in Sample Run Video B.
As a reminder, the bank understands that you may desire to be creative, but your program must match the wording, formatting, and inputs of the sample runs to ensure compliance.
USE THE INDUSTRY STANDARD NAMESPACE FOR C++ KEYWORDS
Inclusion of std:: in program statements will result in demerits
THE PROJECT COVERS CHAPTERS 1-5 ONLY. USE OF THE FOLLOWING WILL INCUR DEMERITS:
User-Defined Functions aside from main()(Chapter 6)
Arrays (Chapter 7)
Global Data (Constants and Variables declared outside of the m

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!