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: