自定义一个生产10-100之间的随机数的公式 int random=(int) (Math.random()*(max-min)+min) int random=(int) (Math.random()*(100-10)+10)