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...