Search:

Type: Posts; User: alexdan

Search: Search took 0.08 seconds.

  1. Thread: Need advice

    by alexdan
    Replies
    6
    Views
    1,902

    Re: Need advice

    Reading Zaphod_b solution gave me an idea.
    Make an infinite loop because you cannot know the number of times it will be an invalid vote.
    Have an index which you will increment each time there is a...
  2. Replies
    18
    Views
    1,818

    Re: computeWinnings()

    Hi!

    I think the problem lies in statement:


    return cherryCnt++;
    .
    cherryCnt never gets incremented. It will always be 0. If you want to increment it, you must say
Results 1 to 2 of 2