- ©«¤l
- 19
- ¥DÃD
- 13
- ºëµØ
- 0
- ¿n¤À
- 69
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows7
- ³nÅ骩¥»
- Office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2013-3-20
- ³Ì«áµn¿ý
- 2023-1-13
|
½Ð°ª¤âÀ°¦£¬Ý¬Ý¡A
ÂŦ⪺¦rÅé¬O§Ú¦Û¤v¥[ªº,¶Â¦â¦rÅé¬O¦Ñ®v¼gªº,
¤£ª¾¹Dþ¼g¿ù¤F... >"< §Ú¬Oªì¾ÇªÌ
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace hw6
{
class Program
{
static void Main(string[] args)
{
int momth, day;
string star;
Console.WriteLine("½Ð¿é¤J¥X¥Í¤ë¥÷");
momth = int.Parse(Console.ReadLine());
Console.WriteLine("½Ð¿é¤J¥X¥Í¤é");
day = int.Parse(Console.ReadLine());
if (momth == 1) { if (day >= 20) { star = "¤ô²~®y"; } else { star = "¼¯½~®y"; } }
if (momth == 2) { if (day >= 19) { star = "Âù³½®y"; } else { star = "¤ô²~®y"; } }
if (momth == 3) { if (day >= 21) { star = "¨d¦Ï®y"; } else { star = "Âù³½®y"; } }
if (momth == 4) { if (day >= 20) { star = "ª÷¤û®y"; } else { star = "¨d¦Ï®y"; } }
if (momth == 5) { if (day >= 21) { star = "Âù¤l®y"; } else { star = "ª÷¤û®y"; } }
if (momth == 6) { if (day >= 22) { star = "¥¨ÃÉ®y"; } else { star = "Âù¤l®y"; } }
if (momth == 7) { if (day >= 23) { star = "·à¤l®y"; } else { star = "¥¨ÃÉ®y"; } }
if (momth == 8) { if (day >= 23) { star = "³B¤k®y"; } else { star = "·à¤l®y"; } }
if (momth == 9) { if (day >= 23) { star = "¤Ñ¯¯®y"; } else { star = "³B¤k®y"; } }
if (momth == 10) { if (day >= 24) { star = "¤ÑÃÈ®y"; } else { star = "¤Ñ¯¯®y"; } }
if (momth == 11) { if (day >= 23) { star = "®g¤â®y"; } else { star = "¤ÑÃÈ®y"; } }
if (momth == 12) { if (day >= 22) { star = "Å]½~®y"; } else { star = "®g¤â®y"; } }
else { star = "«D¤HÃþ";}
Console.WriteLine("§Aªº¬P®y¬O" + star);
Console.Read();
}
}
} |
|