//让用户输入姓名,然后显示出这个人上辈子是做什么职业(老杨,老苏,老周,老马,老虎,老牛,老蒋,小杨)
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("上辈子被武松挂了");
break;
case "老牛":
Console.WriteLine("上辈子是cow");
break;
case "老蒋":
Console.WriteLine("上辈子没这个人");
break;
case "小杨":
Console.WriteLine("上辈子是书生");
break;
}
Console.ReadKey();