热门

最新

红包

立Flag

投票

同城

我的

发布
machacoder
coderSimmon
4 年前
truemachacoder

springmvc 接收List类型的参数
https://www.cnblogs.com/hafiz/p/5498936.html
https://blog.csdn.net/sweetgirl520/article/details/79127223

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
#include<stdio.h> int isleapyear(int x){ int i; for (i = 0; i < 500; i++) { if (x % 4 == 0) { if (x % 100 != 0) { printf("%d是闰年\n", x); break; } else { if (x % 400 == 0) { printf("%d是闰年\n", x); break; } else { printf("%d不是闰年", x); break; } } } else { printf("%d不是闰年\n", x); break; } } return x; } int main(){ int year; scanf("%d", &year); isleapyear(year); return 0; }
立即登录