Console.WriteLine("请输入名字");
string name = Console.ReadLine();
switch (name)
{
case "叶良辰":
Console.WriteLine("上辈子是个狼人");
break;
case ("王境泽"):
Console.WriteLine("我王境泽就算饿死,也绝不吃你家一口饭");
break;
default:
Console.WriteLine("这个人没出生");
break;
}
Console.ReadKey();
Console.WriteLine("请输入要计算的人的姓名");
string name = Console.ReadLine();
switch (name)
{
case "老杨":
Console.WriteLine("老杨上辈子是折翼的天屎");
break;
case "老苏":
Console.WriteLine("老苏上辈子是老鸨子");
break;
case "老邹":
Console.WriteLine("老邹上辈子是老苏手下的头牌");
break;
case "老虎":
Console.WriteLine("上辈子被武松挂了");
break;
case "老牛":
Console.WriteLine("上辈子是Cow");
break;
default:
Console.WriteLine("上辈子没这个人");
break;
}
Console.ReadKey();