Question: 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 1
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 20,10,5, and 1 dollar bills needed to provide change.
Part 1
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.
1 user input: dollar amount (1 integer variable)
4 outputs: 20$,10$,5$,1$ bills as change (4 integer variables)
Prompt for input, provide output amounts on individual lines.
Enter dollar amount:
20$ Bills:
10$ Bills:
5$ Bills:
1$ Bills:
 Program 1 You have been approached by an American fast food

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Analysis and Solution for Program 1 Question ID 13110946 1 Problem Identification Problem Statement ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!