Answered step by step
Verified Expert Solution
Link Copied!

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 image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Neo4j

Authors: Gregory Jordan

1st Edition

1484200225, 9781484200223

More Books

Students also viewed these Databases questions

Question

Rewrite the expression with a pos 8xz^(-(1)/(2))

Answered: 1 week ago