第一种方法:
int c = a;
a = b;
b = c;
第二种方法:
int a = a + b;
b = a - b;
a = a - b;
本文标题:交换俩数
本文链接:https://www.haomeiwen.com/subject/onspmxtx.html
网友评论