2014年2月4日
摘要: import java.util.Random;public class Random2 { public static void main(String[] args) { int[] count=new int[41]; //定义长度为41的数组 Random random=new Random(); for(int i=0;i<50;i++) { int number=random.nextInt(41)+10; //[10,50] count[number-... 阅读全文
posted @ 2014-02-04 23:46 若水玄兮 阅读(163) 评论(0) 推荐(0)