赋值运算符中的问题
这道题怎么做啊,不懂,没思路?
这道题怎么做啊,不懂,没思路?
2017-05-18
int one = 10;
int two = 20;
int three = 0;
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);举报