The Program must ask the user to enter the amount owed, tha.docx
1. The Program must ask the user to enter the amount owed, than
ask them the amount paid. Than tell them the change, than break
the change down into dollars, quarters,dimes,nickles and
pennies.
Enter the amount owed $24.27
Enter the amount paid $30
Your change is $5.63
You Have 5 dollars
You have 2 quarters
You have 1 dime
You have 0 nickles
You have 3 pennies
Program must consist of input and output functions. Name: Due
Date: Making Change Write a complete C program to calculate
change as follows: The user should enter the amount the
customer owes and the amount of money the customer paid. The
program should calculate and display the amount of change, as
well as, how many dollars, quarters, dimes, nickels and pennies
to return to the customer. Always assume that the customer paid
2. either the exact amount or more than the exact amount. Use
functions to get input from the user and to display the output.
Only input and output are to be written using functions! Run
your program with different data. Be sure to include various
amounts to test your logic. Attach a copy of the source code
AND the output for one run using the following data: Customer
owes $56.06 and paid $60.00.
Solution