Console.WriteLine("名字");
string name = Console.ReadLine();
Console.WriteLine("年龄");
string age = Console.ReadLine();
Console.WriteLine("性别");
string six = Console.ReadLine();
Console.WriteLine("您好;" + name + "您的年龄是" + age + ",是个" + six + "生");
Console.ReadKey();
网友评论