#include int main(void){ int n,count; float i,t,sum=1; printf("输入想求得前几项的值:"); scanf("%d", &n); for(i=2,t=1,count=1;count {sum=(i/t)*(i/(t+2))*sum;} printf("前%d项的值为%f\n", n,2*sum); return 0;}