标签:blog os ar java for sp div log bs
public class Test01 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.print("请输入一个数"); int a = sc.nextInt(); for(int i = 1;i <= a; i++){ for(int j=1;j<= 7;j++){ int k=(int)(Math.random()*10); System.out.print(k+" "); } System.out.println(); } sc.close(); } }
标签:blog os ar java for sp div log bs
原文地址:http://www.cnblogs.com/flyluy/p/4031905.html