3. Create a program that asks the user to enter a dollar amount to be paid. The...
Fantastic news! We've Found the answer you've been seeking!
Question:
3. Create a program that asks the user to enter a dollar amount to be paid. The program should then let the user know how many and what denominations of U.S. currency are to be paid. Always pay in the least number of bills possible. Add change (pennies, nickels, dimes, quarters)
How much money do I owe you? 463
You will be paid in these denominations:
Hundred Dollar Bills = 4
Fifty Dollar Bills = 1
Twenty Dollar Bills = 0
Ten Dollar Bills = 1
Five Dollar Bills = 0
One Dollar Bills = 3
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: