All Possible Combinations Using Coins

Write a pseudo code in which using coins of Rs 1 Rs., 2 Rs., 5 Rs. and 10 Rs, find all possible combination of to pay  X amount. X can be any amount. For Example, There are 3 ways to give change for Rs. 4  using coins mentioned above:
1+1+1+1
1+1+2
2+2

 

This Question is not yet answered!

 

Answer Question

Click here to Login / Register your free account


 
Send   Reset

 

Related Answered Questions

 

Related Open Questions