static void Main(string[] args)
{
int Num = 0;
while (Num != 4)
{
Console.WriteLine("ÇëÊäÈëÑ¡Ï");
Num = Convert.ToInt32(Console.ReadLine());
switch (Num)
{
case 1:
Console.WriteLine("¤Ê¤Î¤È");
break;
case 2:
Console.WriteLine("¥¤¥¿¥Á");
break;
case 3:
Console.WriteLine("¤«¤«¥·");
break;
case 4:
Console.WriteLine("Over");
break;
default:
Console.WriteLine("ÇëÊäÈë1-4µÄÊý×Ö!\n");
break;
}
}
}
ÕâÊÇ°´ÕÕÄãµÄ˼·¸ÄµÄ£¬Ð´³ÌÐòµÄʱºòÒª¶àÏëÏë¡£ÏëÏë¼ÆËã»úÈç¹û°´ÕÕÄãµÄ´úÂëÔËÐУ¬»á³öÏÖʲôÑùµÄ½á¹û£¬»á³öÏÖʲôÑùµÄÎÊÌ⣬ȻºóÔÙ¿ª¶¯Í·ÄÔ½â¾öÎÊÌâ¡£ÁíÍ⣬д³ÌÐòµÄʱºòÒª¿¼ÂǶà±äÐÔ£¬Óû§²»Ò»¶¨»á°´ÕÕÄãµÄÏë·¨ÊäÈ룬ËùÒÔ¾ÍÒªÌáÇ°ÉèºÃ¸÷ÖÖ¿ÉÄÜÐÔ£¬ÓÃÀ´¾ÀÕýÓû§µÄ´íÎóÊäÈë¡£