首先我先宣告兩個陣列 // 0到21總共有22個元素,所以宣告陣列大小為22 int[] Num=new int[22]; int[] RndArr=new int[22]; Random rnd=new Random();
確定! 回上一頁