• java-一个小练习


    输出自己的姓名:

    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("           #");
        }
    }

    结果:

  • 相关阅读:
    分页SQL取下一页
    取第10行到100行
    Flash Builder4.0新建Flex应用程序切换主题出错
    C++浮点数(float、double)类型数据比较、转换分析总结
    浮点数的大小比较
    052新题1
    一致读原理
    Redis配置文件解读
    Redis系列-远程连接redis并给redis加锁
    svn提交更新原则
  • 原文地址:https://www.cnblogs.com/jingzhenhua/p/5857411.html
Copyright © 2020-2023  润新知