摘要: //输入任意年份,月份,判断该月份天数; static void Main(string[] args) { int intDay = 0; int intYear = 0; int intMonth = 0; //任意输入年份和月份, 判断该月有几天; try { Console.WriteLin 阅读全文
posted @ 2024-08-11 21:57 CSF践行 阅读(1) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { double intSalary = 5000; bool bFlag = true; Console.WriteLine("请输入张三的评点等级:"); string strLevel = Console.ReadLine(); 阅读全文
posted @ 2024-08-11 17:27 CSF践行 阅读(2) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { string strUsrName = ""; string strPwd = ""; Console.WriteLine("please input your UsrName:"); strUsrName = Console.Re 阅读全文
posted @ 2024-08-11 12:42 CSF践行 阅读(1) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { int intNum = 0; bool bFlag = true; Console.WriteLine("请输入一个数字:"); try { intNum = Convert.ToInt32(Console.ReadLine()) 阅读全文
posted @ 2024-08-11 12:20 CSF践行 阅读(1) 评论(0) 推荐(0) 编辑