Help me!!!

This is a discussion on Help me!!! within the C++ Programming forums, part of the General Programming Boards category; Help me source . Input: give money (<10). you have : 5 , 2 , 1 , 0.5 output: minimized ...

  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    20

    Question Help 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

  2. #2
    Registered User
    Join Date
    Sep 2009
    Posts
    7
    Quote Originally Posted by akaile View Post
    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
    Homework due in for Monday morning? Late and asking a forum to write it all for you, how amusing.

    What code do you have so far? We need specific problems.

  3. #3
    Registered User
    Join Date
    Sep 2009
    Posts
    20
    you don't help me.

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,720
    Read about the homework policy.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Registered User
    Join Date
    Sep 2009
    Posts
    63
    Give us some sort of problem with the code you've already written, and then we can help you.

  6. #6
    Registered User
    Join Date
    Sep 2009
    Posts
    20
    everybody can code help me!!! use C++. thanks

  7. #7
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by akaile View Post
    everybody can code help me!!! use C++. thanks
    That's not how it works. This is your homework. You need to make an attempt to write the code yourself. If you get stuck somewhere, post the code and we'll try to help clarify things for you.

  8. #8
    Registered User
    Join Date
    Sep 2009
    Posts
    20
    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

  9. #9
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,720
    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.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21