Solution Found!
Complete the copier simulation of How To 7.1 on page 334. Your program should firstshow
Chapter 7, Problem P7.12(choose chapter or problem)
Complete the copier simulation of How To 7.1 on page 334. Your program should firstshow the main menu:U)ser A)dministrator Q)uitFor a user, prompt for the ID and the number of copies, increment the appropriateaccount, and return to the main menu.For an administrator, show this menu:B)alance M)aster P)rojectIn the balance option, show the balances of the master account and the ten projectaccounts. In the master option, prompt for a user ID and link it to the masteraccount. In the project option, prompt for user and project IDs. Afterward, returnto the main menu.
Questions & Answers
QUESTION:
Complete the copier simulation of How To 7.1 on page 334. Your program should firstshow the main menu:U)ser A)dministrator Q)uitFor a user, prompt for the ID and the number of copies, increment the appropriateaccount, and return to the main menu.For an administrator, show this menu:B)alance M)aster P)rojectIn the balance option, show the balances of the master account and the ten projectaccounts. In the master option, prompt for a user ID and link it to the masteraccount. In the project option, prompt for user and project IDs. Afterward, returnto the main menu.
ANSWER:Step 1 of 2
The problem involves decision-making process for using pointers. For 100 different users, each user is either linked to a master project or one of the ten projects. Each user makes a copy of the project by entering its ID and the number of copies. In the administration part, the project of the users can be changed and the balance of the projects can be shown.