会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
徐守威
博客园
首页
新随笔
联系
订阅
管理
2013年4月15日
C#语言,从键盘输入一个年份和一个月份,判断该月是多少天!
摘要: Console.WriteLine("请输入一个年份:"); int year = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("请输入一个月份:"); int month = Convert.ToInt32(Console.ReadLine()); switch (month) { case 1: case 3: case 5: ...
阅读全文
posted @ 2013-04-15 13:36 徐守威
阅读(3898)
评论(0)
推荐(0)
编辑
公告