用visual studio编写汇编语言 输入自己名字的拼音 倒着输出并显示输入了多少个字母例如
input: Zhang San
output: naS gnahZ
length: 8
求包含头文件的完整程序!
⚠️汇编语言!
⚠️能复制过去直接用visual studio运行!
感谢!
用visual studio编写汇编语言 输入自己名字的拼音 倒着输出并显示输入了多少个字母例如
input: Zhang San
output: naS gnahZ
length: 8
求包含头文件的完整程序!
⚠️汇编语言!
⚠️能复制过去直接用visual studio运行!
感谢!
汇编语言怎么写我不知道,c#代码如下,你可以参考下:
static void Main(string[] args)
{
Console.ForegroundColor = ConsoleColor.White;
Console.WriteLine("请输入字符串:");
Console.ForegroundColor = ConsoleColor.Yellow;
string s = Console.ReadLine();
string[] a = s.Split(' ');
Array.Reverse(a);
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("倒序输出结果为:");
for (int i = 0; i <= a.Length - 1; i++)
{
Console.ForegroundColor = ConsoleColor.White;
Console.Write(a[i] + "" + ' ');
}
Console.ReadKey();
}