Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 BackStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started