日期:2014-05-18 浏览次数:20786 次
class Program { static void Main(string[] args) { for (int i = 0; i < 3; i++) { Console.Write("输入会员编号!\n"); int a = Convert.ToInt32(Console.ReadLine()); if (a > 999 && a < 10000) { Console.Write("输入会员生日!\n"); string b = Console.ReadLine(); Console.Write("输入会员积分\n"); int c = Convert.ToInt32(Console.ReadLine()); Console.Write("会员信息:会员编号:{0} 会员生日:{1} 会员积分:{2}\n23", a, b, c); } else { Console.Write("非法输入!"); break; } } } }