Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Program 1 You have been approached by an American fast food company with an existing Point of Sale system that gives the order total, and
Program
You have been approached by an American fast food company with an existing Point of Sale system that gives the order total, and workers can input an amount of money and be told how much change to provide. The business owners are finding that quite often, incorrect change is being given to customers, despite their having chosen a business that only deals in paper bills no coins This costs them money, and occasionally leads to frustrated customers, so they've asked you to come up with a simple program that can take a dollar amount and return the minimum number of and dollar bills needed to provide change.
Part
Identify the problem, the number of inputs, the number of outputs, and what the terminal output will look like.
Take dollar amount in whole numbers, return minimum number of bills to make change.
user input: dollar amount integer variable
outputs: $$$$ bills as change integer variables
Prompt for input, provide output amounts on individual lines.
Enter dollar amount:
$ Bills:
$ Bills:
$ Bills:
$ Bills:
Step 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