//取5到100之間的隨機數
public class Test
{
public static void main(String[] args)
{
int random = 5 + (int)(Math.random()*(100-5+1));
System.out.println(random);
}
}
//取5到100之間的隨機數
public class Test
{
public static void main(String[] args)
{
int random = 5 + (int)(Math.random()*(100-5+1));
System.out.println(random);
}
}