// gives a positive integer of not more than five digits, he is a determined few, two reverse order output of each digit number.

废话不多说拉, 直接上代码啦

//Console.WriteLine(" 请输入一个不多于五位的数字");
 //string aa = Console.ReadLine();
 //char[] bb = aa.ToCharArray();
 //int a = 0;
  //if (aa.Length > 5)
  //{
   //    return;
     //}
     //  foreach (char e in bb)
  //{
  //  a++
    //}
  //for (int f = aa.Length - 1; f >= 0; f--)
    //{
   //    Console.WriteLine(bb[f]);
    //     }
    //       Console.WriteLine("共" + a + "位");

Guess you like

Origin blog.csdn.net/weixin_44370124/article/details/90368732