下列代码的输出结果是___________________for (int y=1; y<=5; y++) { for (int x=1; x<y; x++) { System.out.print(" "); } for (int z=y; z<=5; z++) { System.out.print("*"); } System.out.println(); }
举一反三
- 下列代码的输出结果是___________________ for (int y=1; y<=5; y++) { for (int x=1; x<y; x++) { System.out.print(" "); } for (int z=y; z<=5; z++) { System.out.print("*"); } System.out.println(); }
- 下列代码的输出结果是___________________for(int y=0; y<4; y++){ for(int x=0; x<5; x++){ System.out.print("*"); }System.out.println();}
- 下列代码的输出结果是___________________ for(int y=0; y<4; y++){ for(int x=0; x<5; x++){ System.out.print("*"); } System.out.println(); }
- 表示关系X≤Y≤Z的c语言表达式为(). A: (X < =Y)&&(Y< =Z) B: (X < =Y)AND(Y< =Z) C: (X < =Y< =Z) D: (X < =Y)&(Y <=Z)
- 表示关系X≤Y≤Z的c语言表达式为(). A: A:(X < =Y)&&(Y< =Z) B: B:(X < =Y)AND(Y< =Z) C: C:(X < =Y< =Z) D: D:(X < =Y)&(Y <=Z)