Thread: Any idea??

  1. #1
    Registered User
    Join Date
    Oct 2001

    Unhappy Any idea??

    hi, I am doing a question about how to use $200 to get 100 toys in difference combinations of dolls - $20 each, car - $6 each and yoyo - $1 each. I know it must have 3 nested loop and 1 break statement. But, I somehow can't get the right steps. Can anyone give me a hint??? Thanks.

  2. #2
    can we have some more info, is it random choice of toys or does the user choose which they want

  3. #3
    Registered User
    Join Date
    Oct 2001
    It is random I think ... it does not ask user to choose ... so I assume that we have to program it randomly with difference combinations which will get exactly 100 toys with exactly $200. Thank you so much for your time.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. project idea ???
    By gemini_shooter in forum C Programming
    Replies: 2
    Last Post: 06-09-2005, 09:56 AM
  2. Have an idea?
    By B0bDole in forum Projects and Job Recruitment
    Replies: 46
    Last Post: 01-13-2005, 03:25 PM
  3. A little problem about an idea, help please
    By louis_mine in forum C++ Programming
    Replies: 3
    Last Post: 09-10-2004, 09:52 PM
  4. totally screwed up idea
    By iain in forum A Brief History of
    Replies: 9
    Last Post: 08-17-2001, 12:09 PM