zoukankan      html  css  js  c++  java
  • 黄宗禹第一次作业

    public class Println{
        public static void main(String[] args)
        {
            System.out.println("    J    A    V     V    A");
            System.out.println("    J   A A    V   V    A A");
            System.out.println("J   J  AAAAA    V V    AAAAA");
            System.out.println(" J J  A     A    V    A     A");
        }
    }




    public class Circle{
       public static void main(String[] args)
       {
          double c=2 * 5.5 * Math.PI;
          double s=5.5 * 5.5 * Math.PI;
          System.out.println("The circumference of a circle is "+c);
          System.out.println("The area of the circle is "+s);
       }
    }




    public class Average{
       public static void main(String[] args)
    {
          double a=(1*60*60+40*60+35)/(60*60);
          double b=24*1.6;
          double c=b/a;
          System.out.println("His average speed is "+c+"km/h");
       }
    }







  • 相关阅读:
    架构设计
    第七章
    第六章
    第五章
    第四章
    第三章
    第二章
    第一章
    链表中环
    实现链表中的部分翻转
  • 原文地址:https://www.cnblogs.com/huangzongyu/p/7507259.html
Copyright © 2011-2022 走看看