Console.WriteLine("个人信息"); Console.WriteLine("yhm"); string a = Console.ReadLine(); Console.Write("mima"); string b = Console.ReadLine(); int max = 9999; int min = 1000; Random rd = new Random(); int c = rd.Next(min, max); Console.WriteLine("zhucechenggongjihaoshuzi"); Console .WriteLine ("yhm\tmm\thykh"); Console.WriteLine("{0}\t{1}\t{2}", a, b, c); Console.WriteLine("继续吗"); string d = Console.ReadLine(); if (d == "n") { Console.WriteLine("tuichu"); } Console .ReadKey();
网友评论