互换两个变量的值, 不利用第三个变量

exchange value of a and b

a = a + b

b = a - b

a = a - b

posted @ 2013-11-10 15:40  LevyFan  阅读(140)  评论(0编辑  收藏  举报