float s=0,t=1,p=1;*********************t=p/i;s=s+t;p=-p;i=i+2;***********************%f
用%m.nf定义及输出比较好吧毕竟好多位数的