Question: Please help with C programming! Assume bills $100, $50, $20, $5 and $1. Write a program that reads the amount and prints how many bills
Please help with C programming!
Assume bills $100, $50, $20, $5 and $1. Write a program that reads the amount and prints how many bills we need to pay out this amount. The program will print the minimum number of bills.
An example of input: 186
The corresponding output: 1x $100 1x $50 1x $20 3x $5 1x $1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
