回复 楼主 woshiliuwei
using System;class test3{
static void Main(){
Console.Write("请输入任意一个三位数:");
string s=Console.ReadLine();
int x=Convert.ToInt32(s);
Console.WriteLine("逆序后为:{0}{1}{2}",(x%100)%10,(x-(x/100)*100)/10,x/100);
Console.ReadKey();
}
}