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+=0ne==>"+three);
three-=one;
System.out.println("three-=one==>"+three);
three*=one;
System.out.println("three*=ono==>"+three);
three/=one;
System.out.println("three/=ono==>"+three);
three%=one;
System.out.println("three%=ono==>"+three);
楼主字母打错了 你后面部分的one 打成ono
其他都没问题
three/=one;
System.out.println("three/=ono==>"+three);
three%=one;
System.out.println("three%=ono==>"+three);
one 不是 ono - -.
没错的
没错吧