public class Test { public static void main(String[] args) { System.out.println("请输入行数:"); Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { System.out.print("*");
使用java代码输出以下平行四边形图案: * * * * * * * * * * * * * * * * * * * * * * * * * 图案共有n行,每...
最新推荐文章于 2023-07-10 00:32:53 发布