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
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.