第1题#include stdio. hvoid main(){ int i; float s=0; for(i=0=1;i<=49;i++) s+=1.0*(2*i-1)/(2*i+1); printf("s=%f\n",s);}