public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int A=0;
A=one+two;
int B=A+=one;
int C=A-=one;
int D=A*=one;
int E=A /=one;
int F=A%=one;
System.out.println("three=one+two==>"+A);
System.out.println("three=one+=two==>"+B);
System.out.println("three=one*=two==>"+C);
System.out.println("three=one/=two==>"+D);
System.out.println("three=one%=two==>"+F);
}
}
阿旭_
相关分类