Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Python Example. The output should look something like this: Cash payment amount: 45000 Tendered amount: 100000 Change due: 55000 Change paid out in: this many
Python
Example. The output should look something like this: Cash payment amount: 45000 Tendered amount: 100000 Change due: 55000 Change paid out in: this many hundred thousand dollar bills: 0 this many ten thousand dollar bills: 5 this many five thousand dollar bills: 1 this many thousand dollar bills: 0 this many five hundred dollar bills: 0 this many hundred dollar bills: 0 this many fifty dollar bills: 0 this many twenty dollar bills: 0 this many ten dollar bills: 0 this many five dollar bills: 0 this many two dollar bills: 0 this many one dollar bills: 0 Starting Point. Here is the partially written program that you are to complete: cashPayment =45000 amountTendered =100000 changeDue = amountTendered cashPayment print("Cash payment amount: ",cashPayment) print("Tendered amount: ", amountTendered) print("Change due: ",changeDue) hundredThousands = changeDue / 100000 changedue = changeDue \& 100000 tenthousands = changeDue /10000 changeDue = changeDue 810000 \# YOU COMPLETE THIS PART print("this many twodollar bills: ",twos) print("this many one dollar bills: ", ones)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started