Python Input Statements You are considering buying a condominium in the Tidewater Condominium Complex and have decided to estimate the total costs involved in applying for a loan. Since….
develop a program that, given an amount due and a payment, computes the change.
Computing a Customer’s Change Your cousin just opened a small store and does not have the funds to buy one of those sophisticated cash registers that compute the change to return to a customer. Since he still possesses his old personal computer, he asks you to develop a program that, given an amount due and a payment, computes the change. This way he will be able to make sure that whoever he hires will not make a mistake on the change to give back to the customer. The program will compute the change repeatedly until a zero value is given to indicate termination. The change must be computed in dollar bills, quarters, dimes, nickels, and pennies, with the smallest number of coins possible. The clerk will enter the amount due in cents, the payment also in cents, and the program will return the number of dollars, quarters, dimes, nickels, and pennies to give back. The clerk will be prompted to enter the amount due and the payment by the following messages:
Enter amount due in cents (negative or zero to stop):
Enter payment in cents:
The change will be indicated in the following way: