为什么要一节条件后面跟一个输出结果,全部条件输完后再求结果反而乱套了
public class 赋值运算 {
public static void main(String[] ages){
int one = 10;
int two = 20;
int yi=one+two;
int er=(yi+=one);
int san=(er-=one);
int si=(san*=one);
int wu=(si/=one);
int liu=(wu%=one);
System.out.println("three = one + two ==>"+yi);
System.out.println("three += one ==>"+er);
System.out.println("three -= one ==>"+san);
System.out.println("three *= one ==>"+si);
System.out.println("three /= one ==>"+wu);
System.out.println("three %= one ==>"+liu);
}
}