随机数

public class mathrondom {

public static void main(String[] args) {
	for(int i=0;i<10;i++){
	int s=1+(int)(Math.random()*(100-1));
	System.out.println(s);
	}
}

}

posted @ 2019-05-23 20:31  龙吕  阅读(126)  评论(0编辑  收藏  举报