mercredi 21 octobre 2015

Please help me with this mathematical algorithm [duplicate]

This question already has an answer here:

Please help me to answer this following question.

In Hogwarts the currency is made up of galleon (G) and Sickle (s), and there are seven coins in general circulation: 1s, 5s, 10s, 25s, 50s, G1(100s), and G2(200s) It's possible to make G3.5 in the following way: 1xG2 + 1xG1 + 1x30s + 1x10s + 1x5s + 5x1s How many different ways can G3.5 be made using any number of coins?

Thank you!




Aucun commentaire:

Enregistrer un commentaire