2021年9月19日
摘要: Java随机数的运用: 首先导入包: import java.math.* 然后运用函数Math.random()*fw 其中fw可以自己设定,比如Math.random()*100; 格式为 int x=(int)(Math.random()*fw); 仅举例,不一定是int x,数组也可以。 阅读全文
posted @ 2021-09-19 20:13 学习的CYT 阅读(24) 评论(0) 推荐(0)