menu
Qamnty
Login
Register
My account
Edit my Profile
Private messages
My favorites
Show that if there were a coin worth 17 cents, the following greedy algorithm that uses quarters, 17-cent coins, dimes, nickels, and pennies would not always produce change usin…
Ask a Question
Questions
Unanswered
Tags
Ask a Question
Show that if there were a coin worth 17 cents, the following greedy algorithm that uses quarters, 17-cent coins, dimes, nickels, and pennies would not always produce change usin…
asked
May 4, 2020
42.0k
views
4
votes
Show that if there were a coin worth 17 cents, the following greedy algorithm that uses quarters, 17-cent coins, dimes, nickels, and pennies would not always produce change using the fewest coins possible
Mathematics
high-school
Glosrob
asked
by
Glosrob
7.4k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
4
votes
12 cents, the greedy algorithm using quarters, 12-cent coins, dimes, nickels, and pennies would not always produce change using the fewest coins
Lorem
answered
May 11, 2020
by
Lorem
8.6k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Feb 8, 2024
232k
views
Consider the problem of making change for n cents using the fewest number of coins. Assume that each coin’s value is an integer. a) Describe a greedy algorithm to make change consisting of quarters, dimes,
Joost Evertse
asked
Feb 8, 2024
by
Joost Evertse
8.3k
points
Mathematics
high-school
1
answer
5
votes
232k
views
asked
Jul 9, 2019
7.2k
views
Consider the problem of making change for n cents using the fewest number of coins. Assume that each coin's value is an integer. a. Describe a greedy algorithm to make change consisting of quarters, dimes,
Robin Zigmond
asked
Jul 9, 2019
by
Robin Zigmond
8.7k
points
Computers & Tech
high-school
1
answer
4
votes
7.2k
views
asked
Apr 15, 2024
196k
views
Write a Python program with a total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels and Pennies.
Whywake
asked
Apr 15, 2024
by
Whywake
8.5k
points
Computers & Tech
college
1
answer
2
votes
196k
views
Ask a Question
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.
Categories
All categories
Mathematics
(3.7m)
History
(955k)
English
(903k)
Biology
(716k)
Chemistry
(440k)
Physics
(405k)
Social Studies
(564k)
Advanced Placement
(27.5k)
SAT
(19.1k)
Geography
(146k)
Health
(283k)
Arts
(107k)
Business
(468k)
Computers & Tech
(195k)
French
(33.9k)
German
(4.9k)
Spanish
(174k)
Medicine
(125k)
Law
(53.4k)
Engineering
(74.2k)
Other Questions
How do you can you solve this problem 37 + y = 87; y =
What is .725 as a fraction
How do you estimate of 4 5/8 X 1/3
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qamnty