Quote Originally Posted by jayfella View Post
why am i the only one writing the whole thing makes me look bloated
My 1 line of code is the whole thing . It has 50% chance of generating a number between 1 and 10 and 50% chance of generating one between 1 and 1000 (using the 1st one). And its fast because its only 1 binary AND operation, one if-else and one rand().