#include <iostream> 
using namespace std;

int main()
{
    int n,ge,shi;
    cout << "请输入一个两位数:";
    cin >> n;
    shi = n / 10;
    ge = n % 10;
    n = ge * 10 + shi;
    cout << n << endl; 
    return 0;
}

输入一个两位数,交换十位和各位上的数字