标签:image include log src alt images code float style
#include "stdio.h" void main() { float h=100.0,sum=100.0; int g=1; do { sum=sum+h; h=h/2; g++; }while(g<=10); printf("10次共经过:%f\n",sum); printf("第10反弹高度为:%f",h); }
标签:image include log src alt images code float style
原文地址:http://www.cnblogs.com/liangjinjie/p/6025000.html