Posted in 面试题 onNovember 24, 2013
* * * * *
* * * *
* * *
* *
*
代码如下:
public class Print {
public static void main(String[] args) {
for (int i = 0; i for (int j = 5; j > i; j–) {
System.out.print(“*”);
}
System.out.println();
}
}
}
* * * *
* * *
* *
*
代码如下:
public class Print {
public static void main(String[] args) {
for (int i = 0; i for (int j = 5; j > i; j–) {
System.out.print(“*”);
}
System.out.println();
}
}
}
编程输出如下图形
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Tags in this post...
Reply on: @reply_date@
@reply_contents@