相关截图:
int age1=three=one+two;
int age2=three+=one;
int age3=three-=one;
int age4=three*=one;
int age5=three/=one;
int age6=three%=one;
System.out.println("three=one+two==>"+age1);
System.out.println("three+=one==>"+age2);
System.out.println("three-=one==>"+age3);
System.out.println("three*=one==>"+age4);
System.out.println("three/=one==>"+age5);
System.out.println("three%=one==>"+age6);
int one = 10 ;
int two = 20 ;
int three=one+two;
System.out.println(three);
three+=one;
System.out.println(three);
three-=one;
System.out.println(three);
three*=one;
System.out.println(three);
three/=one;
System.out.println(three);
three%=one;
System.out.println(three);
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);
搜索
复制