#include <iostream> using namespace std; // 编写函数实现两数交换(引用方式) void swap (int &m,int &n){ int temp = m; m = n; n = temp; } int main() { int m, n; cin >> m; cin >> n; // 交换m和n swap (m,n); cout << m << " " << n << e...