HI guys.
I need help with some program that i have to make.
Please help tnx.![]()
It goes like this.
Wrote down a program that outputs all combinations for euro € coins.
n =it's input number and it's sum.
m= it's input number and it's the value of how much coins to use to return sum n number.
€ coins are: 2€, 1€, 0,50€ 0,20€ 0,10€ 0,05€ 0,02€ 0,01€
Example:
n=1(€), m=4(max amount of coins to return):
- 1 ---------> 1€
- 0,50 0,50----> 1€
- 0,50 0,20 0,20 0,10 ------>1€
and so on.
I don't rly know how to start. BrutForce i think it's not optionHEHE



5Likes
LinkBack URL
About LinkBacks
HEHE 



