get random number from 1 to 5
int randomNumber = (int) (Math.random() * 5) + 1;
Last updated 2 years ago