函数fun的功能是:计算 的前n项之和。若x=2.5,n=15时,函数值为1.917914。 #include #include double fun(double x, int n) { double f, t; int i; f = 1; t = -1; for (i=1; i A. 1 B. i C. -1 D. 0
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】单项选择 1. If you want to have a picnic, you can ____ a car ____ the company( 公司 ). A. rent; to B. borrow; to C. rent; from D. borrow; from 2 . When you go to the countryside( 郊外,农村 ), you can see differ...
【简答题】(B)阅读文章判断正误 A: Hello, Green Community Service Center. Can I help you? B: Yes, please. I want to rent a room. A: What’s your name, please? B: Jane Green. A: Are you a student? B: No, I’m a teacher. Do ...
【简答题】If you want to have a picnic, you can ____ a car ____ the company( 公司 ). A. rent; to B. borrow; to C. rent; from D. borrow; from 2 . When you go to the countryside( 郊外,农村 ), you can see different kind...