C#倒序输出字符-古蔺大橙子建站
RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
C#倒序输出字符
 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace retrun
{
    class Program
    {
        static void Main(string[] args)
        {
            string act = Console.ReadLine();
            string rev = "";
            for (int index = act.Length-1;index >= 0;index--)
            {
                rev += act[index];
            }
            Console.WriteLine("{0}",rev);
            Console.ReadKey();
        }
    }
}

当前题目:C#倒序输出字符
URL标题:http://scgulin.cn/article/pjccso.html