*****用循环运用

*****

*****

*****

*****

*****

public class www{

	public static void main(String[] args) {
		for(int i=1;i<=5;i++){
			for(int x=1;x<=5;x++){
				System.out.print("*");
			}
				System.out.println();
		}

 输出:

posted @ 2017-08-31 07:21  香菇炖小鸡  阅读(96)  评论(0编辑  收藏  举报