标签:ar on ad amp line string it c read
String b=Console.ReadLine();
int a=int.Parse(b);
string s=(a>=1&&a<=6)?("上半年"):((a>=7&&a<=12)?("下半年"):("请输入正确的日期"));
Console.WriteLine(s);
Console.ReadLine();
标签:ar on ad amp line string it c read
原文地址:http://www.cnblogs.com/yangyue/p/4161840.html