P51-10
来源:互联网 发布:mac python idle 运行 编辑:程序博客网 时间:2024/05/01 21:41
10.
#include <stdio.h>#include <math.h>int main (){ int year,month; printf("please input year and month\n"); scanf("%d%d",&year,&month); if(year%4==0) { if(month == 2) printf("该月的天数是:29\n"); else if (month == 4 || 6 || 9 || 11) printf("该月的天数是:30\n"); else printf("该月的天数是:31\n"); } else { if(month == 2) printf("该月的天数是:28\n"); else if (month == 4 || 6 || 9 || 11) printf("该月的天数是:30\n"); else printf("该月的天数是:31\n"); } return 0;}
0 0
- p51,10
- P51-10
- P51 10
- P51第10题
- P51 第10题
- P51第10题
- P51第10题优化
- p51 第二章 第10题 潘璠
- 电信141p51第10题
- P51 11
- p51,1
- P51 1
- p51,3
- p51 8
- P51 7
- p51,4
- p51,6
- p51,7
- ios SQLite增删改查
- OpenCV 2学习笔记
- h.264测试视频
- 有符号和无符号之间的转换
- 详细分析system_call
- P51-10
- 关于 ios 7.0启用的UINavgationViewController的interactivePopGestureRecognizer手势
- (转)Asp.Net 使用“递归算法”生成目录树的JSON格式(值得收藏) 以下博文转自:http://www.cnblogs.com/yangrixing/archive/2012/08/23/26
- 18、File类使用list方法的一点奇怪现象
- 输出闰年
- iOS传值总结
- android为什么不允许新开启一个线程来更新UI,而是用handler来更新界面
- import com.sun.image.codec.jpeg.JPEGImageEncoder报错解决办法
- 程序员关系数据库——OceanBase