ch1_1.java~6~

来自「本系统为六合彩网上投注系统」· JAVA~6~ 代码 · 共 30 行

JAVA~6~
30
字号
import java.io.*;

public class ch1_1
{
  public int div(int i1,int i2)
  {
    int result = 0;
    result = i1*i2;
    return result;
  }

  public static void main(String args[])
  {
    ch1_1 test = new ch1_1();
    byte[] tmp = null;
    int re1 = 0,re2 = 0;
    try
    {
      re1 = System.in.read();
      re2 = System.in.read();
      int tt = test.div(re1,re2);
      System.out.println(re1 + "乘以" + re2 +"的结果是" + tt);
    }
    catch (IOException ex)
    {
      ex.printStackTrace();
    }
  }
}

⌨️ 快捷键说明

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