package operator;
public class Demo01 {
public static void main(String[] args) {
//二元运算符
//ctrl+D :复制当前行到下一行
int a = 10;
int b = 20;
int c = 25;
int d = 25;
System.out.println(a+b);
System.out.println(a-b);
System.out.println(a*b);
System.out.println((double)a/b);
}
}
加减乘除
最新推荐文章于 2021-03-17 17:39:14 发布