摘要: #include "stdafx.h" #include"stdio.h" int main(){ int year; printf("input the year:"); scanf("%d",&year); if(year%100 != 0&&year%4 == 0|| year%400 == 阅读全文
posted @ 2019-04-08 16:01 p201821440019 阅读(177) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include"stdio.h"int main(){ char a,b,c,d,e; a=getchar(); b=getchar(); c=getchar(); d=getchar(); e=getchar(); /*getchar("%d%d%d%d%d 阅读全文
posted @ 2019-04-08 15:43 p201821440019 阅读(152) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> int main() { int a,b,sum; a=123; b=456; sum=a+b; printf("sum is %d\n",sum); return 0; } #include "stdafx.h" #include"stdio.h" int ma 阅读全文
posted @ 2019-04-08 15:09 p201821440019 阅读(211) 评论(0) 推荐(0) 编辑