number003.java

来自「我的JAVA, 不知道好不好,希望你可以改」· Java 代码 · 共 43 行

JAVA
43
字号

public class Number003
{
  static int number3;
  static double price=3.00;
  static String s="Holly Wreath";
  static int max3;
  static int sell3;
  static int thismax(int b)
  {
    max3=b;
    return max3;
  }
  static int showmax()
  {
    return max3;
  }  
  static void getNumber(int b)
  {
    number3=b;
  }
  static void changeNumber(int a)
  {
    number3=number3-a;
    sell3=max3-number3;
  }
  static int thisNumber()
  {
    return number3;
  }
  static String thisorder()
  {
    return s;
  }
  static double thisPrice()
  {
    return price;
  }
  static int showsell()
  {
    return sell3;
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?