Originally Posted by Collinar
Then what is? And how do I fix my program? I don't understand how the previous thread helps me...
So what should I do?
I showed you how to generate a random number in your previous thread Post #3.
Logic Ali has shown you what is wrong with your program. To fix it - simply delete the incorrect semi-colon.