subject

Suppose that a cashier owes a customer some change and that the cashier only has quarters, dimes, nickels, and pennies. write a function that computes the minimum number of coins that the cashier can return. in particular, write a function change_to_coins(amount) that returns the minimum possible number of coints that add up to the given amount of dollars. you may assume that the input to function change_to_coins(amount)is a float value referred to by amount representing the number of dollars. before doing anything else, you should convert this number entirely to cents (that should be of type int). once you have the total number of cents here are some hints on how to find the minimum number of coins. (it's a python program)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:40
Adna sequence encoding a five-amino acid polypeptide is given below. …… …… locate the sequence encoding the five amino acids of the polypeptide, and identify the template and coding strand.
Answers: 1
question
Computers and Technology, 22.06.2019 14:30
If the polar bear were taken out of the food chain what would happen to the seal population the seal population would diminish the seal population would grow dramatically the seal population would stay the same the seal population would decrease slightly
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
If i wanted to include a built-in calendar in a document, what option could i select? draw table insert table insert chart quick tables
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
If chris has a car liability insurance, what damage would he be covered for
Answers: 1
You know the right answer?
Suppose that a cashier owes a customer some change and that the cashier only has quarters, dimes, ni...
Questions
question
History, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
World Languages, 16.09.2020 01:01
question
Chemistry, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
English, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Geography, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
English, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
question
Mathematics, 16.09.2020 01:01
Questions on the website: 13722367