摘要: #include <stdio.h>#define SUM 100000int main(){ float amount,aver,total; int i; for(i=1,total=0;i<=1000;i++) { printf("please enter amount:"); scanf(" 阅读全文
posted @ 2020-04-28 19:14 采姑娘的小蘑菇a 阅读(2175) 评论(0) 推荐(0) 编辑
摘要: //一般情况下 二者结果相同 但当while后表达式第一次为假时 二者结果不同 #include <stdio.h>int main(){ int i,sum=0; printf("please enter i,i=?"); scanf("%d",&i); while(i<=10) { sum = 阅读全文
posted @ 2020-04-28 18:36 采姑娘的小蘑菇a 阅读(240) 评论(0) 推荐(0) 编辑
求投食~(点图即可)