Question: Language is C++ Write a program that mimics the COINSTAR machine in a bank or department store with the following specification: 1. program will ask

Language is C++
Write a program that mimics the COINSTAR machine in a bank or department store with the following specification: 1. program will ask the user for the number of pennies, nickels, dimes and quarters he has. 2. Program then will convert that to dollar amount minus the fees calculated as follows: based on the dollar amount the fee should be 10% when you deposit $50 or less inclusive [0 - 501 when the deposited coins grow beyond $50 the fee changes to 8% i.e. (50 - 100] when the deposited coins fall in the range of (100 - 150] the fee changes to 6% Any other deposit beyond 150 will be charged a 5% flat service charge. 3. The program should display the following numbers: Total Deposit Service Fee Net Cash Back
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
