3-3练习题
怎么做
怎么做
2017-06-03
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
int three=one+two;
System.out.println("three=one+two==>"+three);
int three+=one;
System.out.println("three+=one==>"+three);
int three-=one;
System.out.println("three-=one==>"+three);
int three*=one;
System.out.println("three*=one==>"+three);
int three/=one;
System.out.println("three/=one==>"+three);
int three%=one;
System.out.println("three%=one==>"+three);
}
}
举报