產生100次0~100的亂數,不重複。 Random ro = new Random(); int r = 0,i,j; int[] num = new int[101]; for (i = 0; i <= 100; i++) num[i] = i;
確定! 回上一頁