对%的计算结果的疑问
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==>"+three);
three/=one;
System.out.println("three/=one==>"+three);
three%=one;
System.out.println("three%=one==>"+three);
这段代码的最好为什么three%=one的结果是0呢,three此时为30,30%10因该为3才对啊