摘要: 阅读全文
posted @ 2019-05-06 14:55 akjhjk 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-05-06 14:54 akjhjk 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-05-06 14:53 akjhjk 阅读(117) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <math.h> int main(){ double a,b,c,d; int e; scanf("%lf",&a); e=a/500; switch(e) { case 0:b=0;break; case 1:b=0.05;break; c 阅读全文
posted @ 2019-04-22 15:34 akjhjk 阅读(178) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <math.h> int main(){ double a,b,c,d; scanf("%lf",&a); if(a<500){ b=0; c=a*b; d=a-c;} else if(a>=500&&a<1000){ b=0.05; c=a* 阅读全文
posted @ 2019-04-22 15:13 akjhjk 阅读(143) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <math.h> int main(){ int a,b,c,d; scanf("%d%d%d",&a,&b,&c); if(a>b){ d=b; b=a; a=d; } else if(a>c){ d=c; c=b;b=a; a=d; } e 阅读全文
posted @ 2019-04-22 14:51 akjhjk 阅读(124) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>int main(){ int year,days=0; printf("input the year:"); scanf("%d",&year); if(year%4!=0){ days=28; } else if(year%100!=0){ days=29;  阅读全文
posted @ 2019-04-22 14:31 akjhjk 阅读(109) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>int main(){ char a,b,c,d,e; a=getchar(); putchar(a); b=getchar(); putchar(b); c=getchar(); putchar(c); d=getchar(); putchar(d); e=ge 阅读全文
posted @ 2019-04-22 14:19 akjhjk 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-04-08 15:16 akjhjk 阅读(103) 评论(0) 推荐(0) 编辑
摘要: #include "stdio.h"#include "time.h" #include "stdlib.h" int main(){ int i; char c,gu; srand((unsigned)time(NULL)); c=6; gu=rand()%6+1; for(i=1;i<=100; 阅读全文
posted @ 2019-03-24 22:11 akjhjk 阅读(108) 评论(0) 推荐(0) 编辑