作业

24 阅读1分钟

输入月份,输出当月的天数,继续询问用户,请输入年份,根据是否闰年判断,输出28,29

image.png

输入月份:10

运行结果:

image.png