weixin_慕仰5301837
2020-02-18 17:36
\public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
three=one+two;
System.out.println("three=one+two==>"+three);
three+=one;
System.out.println("three+=one==>"+three);
three+=one;
System.out.println("three-=one=="+three);
three-=one;
System.out.println("three*=one==>300"+three);
three*=one;
System.out.println("three/=one==>"+three);
three/=one;
System.out.println("three%=one==>"+three);
three%=one;
}
}
重复了一个
而且 three+=one;重复了
你第一个/没去掉吧
Java入门第一季(IDEA工具)升级版
1165172 学习 · 17581 问题
相似问题