zoukankan      html  css  js  c++  java
  • 作业1 三次作业

    1.2

    public class Figure
    {
       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  AAAAAA   V V    AAAAA");
          System.out.println(" J J  A      A   V    A     A");
               }
    }

    1.8 

    public class Main {
        public static void main(String args[]) {
            Scanner sc = new Scanner(System.in);
            System.out.print("半径为5.5");
            int r = sc.nextInt();
            sc.close();
            double s = Math.PI * 5.5 * r;
            double c = Math.PI * 5.5 * 2;
            System.out.println("圆的面积:" + s + ",圆的周长:" + c);
        }
    }

    1.12

    	public double getAvg(double time,double len){

    double hour = time/60;
    double _len = len/1.6;
    double avg = _len/hour;
    return avg;
    }


  • 相关阅读:
    刷题(十五)
    Pycharm按装
    Jmeter
    内存泄露部分检测工具
    Failed to resolve
    图片显示方向不对怎么办
    ScaleType属性
    RobotFramework
    LoadRunner
    Appium
  • 原文地址:https://www.cnblogs.com/kally004/p/7504116.html
Copyright © 2011-2022 走看看