China Naming Network - Feng Shui knowledge< - Competition lottery source code

Competition lottery source code

There is something wrong with the code. If the random number k is less than 33, set qk= 1 and go to the loop.

If the random number k is greater than 33, the judgment in IF is bypassed and goes to the loop.

So it's a goto cycle anyway, and it's an infinite cycle.

I don't know what effect you want, so I can't give the correct code. Please keep asking questions if you have any questions.