Help me source .

Input: give money (<10). you have : 5 , 2 , 1 , 0.5

output: minimized money.

ex. input 10

output: 5+5

ex: input 5

ouput: 5

ex: input 8

output: 5+2+1

... thanks

Printable View

- 09-20-2009akaileHelp me!!!
Help me source .

Input: give money (<10). you have : 5 , 2 , 1 , 0.5

output: minimized money.

ex. input 10

output: 5+5

ex: input 5

ouput: 5

ex: input 8

output: 5+2+1

... thanks - 09-20-2009Rich2189
- 09-20-2009akaile
you don't help me.

- 09-20-2009laserlight
Read about the homework policy.

- 09-20-2009Zach_the_Lizard
Give us some sort of problem with the code you've already written, and then we can help you.

- 09-20-2009akaile
everybody can code help me!!! use C++. thanks

- 09-20-2009Sebastiani
- 09-21-2009akaile
Okie!!! Thanks

Question: Given an amount of money (less than 10,000VND), compute the number coin of 500VND, 1,000VND, 2,000VND, 5,000VND needed. Remember that the number of coin is minimized.

I hope everybody will help me sourch code - 09-21-2009laserlight
Several other members of this community that told you that you need to show some effort so that we can help you along. It is clearly stated in the homework policy that we do not do your homework for you.

This is your last warning. If you persist in asking for your homework answer to be handed to you, I shall close this thread.