You have to write a program which takes 30 integers representing collection of coins. Each integer represents worth of each coin. The program should also take another input “amount” whose change needs to be found. Your program should be finding the change using minimum number of coins. If change is not possible then it should display an appropriate message. Output of the program should be list of all coins used to find the change using minimum number of coins. Any number could be input from 0 to infinite...This is only for beginners!
kenny21
0
Newbie Poster
Recommended Answers
Jump to PostWhat have you tried so far? Have you tried out an example with paper and pencil to get the thought process (which makes it much easier to code)?
Also please see this:
http://www.daniweb.com/forums/announcement8-2.html
All 3 Replies
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
kenny21
0
Newbie Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.