package com.mambali.test;
/*
* 产生125-175间的随机整数
*/
public class RandomTest {
public static void main(String []args){
int random = (int)(Math.random()*50)+125;
System.out.println("random="+random);
}
}
/*
* 产生125-175间的随机整数
*/
public class RandomTest {
public static void main(String []args){
int random = (int)(Math.random()*50)+125;
System.out.println("random="+random);
}
}