public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.print("机选几注: ");
if(sc.hasNextInt()) {
int n = sc.nextInt();
if(n > 0) {
for(int i = 1; i <= n; i++) {
for(int j = 1; j <= 7; j++) {
System.out.print((int)(Math.random() * 10) + " ");
}
System.out.println();
}
}
}
sc.close();
}
}
七星彩选号
最新推荐文章于 2022-10-17 20:24:08 发布