Write a program that prompts the user to enter only the dollar amount (no cents) of an
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a program that prompts the user to enter only the dollar amount (no cents) of an item less than or equal to 100 dollars. Assume the customer is paying with a 100 dollar bill. Store that amount in a properly named constant as an integer. Assume that no tax and no other fees are being applied. The program should give change with the largest bills possible, starting with 50’s, 20's, then 10's then 5's, then finally ones. Review the Python math operators on page 54 and use f_string printing. Ensure that your program's output is formatted as identified in the example output below.
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: