java中获取10到20随机数 (数据类型)(最小值+Math.random()*(最大值-最小值+1))例:int i = (int)(10+Math.random()*(20-10+1))从10到20的int型随数 java_web 2023-08-04 55 点赞 0 评论 83 浏览