自定义一个生产10-100之间的随机数的公式

int random=(int) (Math.random()*(max-min)+min)

int random=(int) (Math.random()*(100-10)+10)

原文地址:https://www.cnblogs.com/jassy/p/13813033.html