标签:tor enc sys void str var com plain public
package base;
?
public class Demo01 {
public static void main(String[] args) {
// 二元运算符
int a=7;
int b=10;
int c=20;
int d=30;
System.out.println(a+b);
System.out.println(a-b);
System.out.println(a*b);
System.out.println(b%a); // % 是取余数
System.out.println(a/(double)b);//这里需要转换
}
}
?
标签:tor enc sys void str var com plain public
原文地址:https://www.cnblogs.com/av18/p/12240993.html