本帖最后由 许庭洲 于 2014-3-3 14:45 编辑
实际上是利用了number1或number2本身作为了中间变量,代替了第三方变量;
1. number1= number1+ number2;
number2= number1- number2;
number1= number1- number2;
2. number1= number1* number2;
number2= number1/ number2;
number1= number1/ number2;
3. number1= number1- number2;
number2= number1+ number2;
number1= number2- number1;
4. number1= number1^ number2;
number2= number1^ number2;
number1= number1^ number2;
|