Console.WriteLine("请输入姓名"); string name = Console.ReadLine(); Console.WriteLine("请输入年龄"); string age= Console.ReadLine(); Console.WriteLine("请输入性别"); string sex = Console.ReadLine(); Console.WriteLine(name + "您的年龄是" + age + "是个" + sex + "生"); Console.ReadKey();












网友评论