Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beyond Big Data Using Social MDM To Drive Deep Customer Insight

Authors: Martin Oberhofer, Eberhard Hechler

1st Edition

0133509796, 9780133509793

More Books

Students also viewed these Databases questions