标签:
#include<stdio.h>main(){ int n=2,day=0; float money=0,ave; while(n<100) { money+=n*0.8; day++; n*=2; } ave=money/day; printf("The ave is :%.6f\n",ave);}
买苹果
原文地址:http://www.cnblogs.com/flywolf601/p/5865837.html