网站首页
编程语言
数据库
系统相关
其他分享
编程问答
intMonth
2024-08-11
switch和try-catch综合练习
//输入任意年份,月份,判断该月份天数;staticvoidMain(string[]args){intintDay=0;intintYear=0;intintMonth=0;//任意输入年份和月份,判断该月有几天;try