#include<stdio.h>main(){ float sum=0,a=1; while(a<=100) { if(a%2==0) sum=sum-1/a; if(a%2==1) {sum=sum+1/a;} a++; } printf("%f",sum);} 哪里错了?