Howdy! This is simply an aspect of my program, and this bit of code appears a few times, with different variables and other stuff. When I compile the code, I get "error C2143: Syntax Error : missing ';' before '}'" I'm new to all this coding, and would appreciate any help! Thanks for your time! Basically, a random number is chosen, and if it's within a range, it goes through this part. This range can only be chosen 3 times because then the first 'if' would not be true. Thanks for all your help so far! Also, the error is in the 'endICT:' line.