Kasugi
Active Member
Okay, this is a really arb question 0_o but here it goes....
I'm trying to generate a number in the range of 1000 and 9000
* It must be a multiple of 5
* It must NOT be a multiple of 3
Like, for example, 1355.
thus far I just have the constraints of :
num = (int)(Math.random()*8991)+1000;
but then like.... what next ? :| I'm so confused :erm:
I'm trying to generate a number in the range of 1000 and 9000
* It must be a multiple of 5
* It must NOT be a multiple of 3
Like, for example, 1355.
thus far I just have the constraints of :
num = (int)(Math.random()*8991)+1000;
but then like.... what next ? :| I'm so confused :erm: