Edit: I found my problem


  • Maybe the problem is in the while loop. If purse is always a positive number, the loop never ends.
    The for loop seems ok.

  • Edit:

    Thread can be closed. I found my problem.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion