本月有几天
来源:互联网 发布:js初始化二维数组 编辑:程序博客网 时间:2024/05/22 13:30
#include <iostream>
using namespace std;
int main()
{
int year,month,day;
cin>>year>>month;
if(month==1||month==3||month==5||month==7||month==8||month==10||month==12)
day=31;
if(month==4||month==6||month==9||month==11)
day=30;
if(month==2)
if(year%4==0)
day=29;
else
day=28;
cout <<day<< endl;
return 0;
}
0 0
- 本月有几天?
- 本月有几天
- 本月有几天
- 本月有几天?
- 计算本月有几天
- 本月有几天
- 本月有几天
- 本月有几天,亲
- 本月有几天
- 本月有几天
- 求本月有几天
- 本月有几天
- 本月有几天
- 本月有几天
- 本月有几天
- 本月有几天
- 得本月有几天
- 本月有几天
- js笔记(5)
- iOS 中 pch文件的使用
- 1152: 【C语言训练】计算:t=1-1/(2*2)-1/(3*3)-...-1/(m*m)
- 程序运行抛出Unsupported major.minor version 52.0异常
- iOS之键盘弹出视图上移
- 本月有几天
- 找不到或无法加载主类 com.sun.tools.javac.Main
- 指针数组和数组指针的区别
- 程序分析(1)
- springMVC4(2)请求映射全面分析
- Android性能优化之SparseArray与ArrayMap
- 程序分析(2)
- Linux_ select 多路复用
- 程序分析(3)