第十七节第三个作业

图片发自App


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();

你可能感兴趣的:(第十七节第三个作业)