I think the problem is
所在版块:求学狮城 发贴时间:2003-09-05 23:52

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
for( int i=1;i<=n;i++){
for(int j=(i-1);j>0;j--){
i*=j; //You are changing the value of i here
}
e+=1.0/i;
}
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

 相关帖子 我要回复↙ ↗回到正文
问一个java问题!我想了一晚上也没想出来:( tonymmm   (442 bytes , 420reads )
I think the problem is 紫羊   (117 bytes , 257reads )
yup.... 疯一样的男子   (0 bytes , 275reads )
哈,我知道该怎莫作了。谢谢学长指导!:) tonymmm   (0 bytes , 151reads )