java-一个小练习

时间:2022-01-01 18:32:44

输出自己的姓名:

public class test01 {
public static void main(String[] args)
{
System.out.println(" # # #");
System.out.println("# # # # # # #");
System.out.println(" # # # #");
System.out.println(" # # # # # #");
System.out.println(" # # # #");
System.out.println("# # # # # # #");
System.out.println(" # # # #");
System.out.println("# # #");
System.out.println();
System.out.println(" # # # # # #");
System.out.println(" # #");
System.out.println("# # # # # # # # # #");
System.out.println(" # # # # #");
System.out.println(" # # # # # #");
System.out.println(" # # # #");
System.out.println(" # # # # #");
System.out.println(" # # # #");
System.out.println(" # # # # # #");
System.out.println(" # # # #");
System.out.println();
System.out.println(" # # #");
System.out.println(" # # #");
System.out.println(" # # #");
System.out.println(" # # # ");
System.out.println(" # # # ");
System.out.println("# # # # # # # ");
System.out.println(" # # #");
System.out.println(" # # # # # # #");
System.out.println(" #");
System.out.println(" # # # # # # # # # ");
System.out.println(" #");
System.out.println(" #");
System.out.println(" #");
System.out.println(" #");
System.out.println(" #");
}
}

结果:

java-一个小练习