04 2019 档案

摘要:#include"stdio.h" void forx() { int i; long s=0; for(i=1;i<=50;i++) { s+=(20*i+2); } printf("%d\n",s); } void whilex() { int i=1; long s=0; do { s+=(2 阅读全文
posted @ 2019-04-25 15:19 201821430008 阅读(172) 评论(0) 推荐(0)
摘要:#include"stdio.h" void rr(double a) { if(a<500) { printf("a=%lf\trate=0.00\ttax=%lf\tprofit=%lf\n",a,0,a); } if(a>=500&&a<1000) { printf("a=%lf\trate= 阅读全文
posted @ 2019-04-11 16:09 201821430008 阅读(125) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-04-11 15:08 201821430008 阅读(80) 评论(0) 推荐(0)