空空白白的坚持
2017-06-03 22:30
怎么做
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);
}
}
three = one + two;
three += one;
three -= one;
three *= one;
three /= one;
three %= one;
Java入门第一季(IDEA工具)升级版
1165172 学习 · 17581 问题
相似问题