class classA
{
static void Main()
{
Console.WriteLine("请输入你个三位数:");
int scr,res,bai,shi,ge;
scr = Convert.ToInt16(Console.ReadLine());
bai = (int)(scr /100);
shi = (int)(scr % 100 / 10);
ge = scr % 10;
res = ge * 100 + shi * 10 + bai;
Console.WriteLine("源数据为:{0}", scr);
Console.WriteLine("逆变换为: {0}", res);
Console.Read();
}
}