We're doing a simple exercise and we have the following situation:
if ( random(1-100) == 50 OR random( 1-100 ) == 50 ) THEN [..]
The random function may return any number between 1-100 1 and 100 included with a theoretic complete randomization.
I'd like to know what is the % of that IF statement to return TRUE.
another question is:
Considering the OR statement aqs short-circuit does it affect in any way that %.