比如,输入123,输出321;
输入120305,输出5321;
int num = Convert.ToInt32(Console.ReadLine());
while (num!=0)
{
int wei = num % 10;
if (wei != 0)
{ Console.Write(wei); }
num /= 10;
}