#include"stdio.h"#include"math.h"voidmain(){
int x;
double sum=0;
int i;
scanf("%d",&x);
for(i=1;i<=100;i++){
sum += pow(-1,i-1)*x/i;
}
printf("sum=%0.2lf",sum);
}
heroiv的博客本来不想骂人!但首页上一篇评论让我很生气。...看看原文吧:OneSunYearBoring Isn’t Always Good So, what do you think about when you think about Sun? Computers, networks, operating systems... and Java. The