There's no need to multiply Math.random() by such a large amount if you're just going to modulus it. Simply multiply it by 5, add one and cast to an it.
Also, in the loop where you print out the...
Type: Posts; User: helloworld922
There's no need to multiply Math.random() by such a large amount if you're just going to modulus it. Simply multiply it by 5, add one and cast to an it.
Also, in the loop where you print out the...