试题与答案

He always did well at school ______ havi

题型:选择题

题目:

He always did well at school ______ having to do part-time jobs every now and then.

A.in spite of

B.instead of

C.in case of

D.in favor of

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0611/b789e394dccfdac6cb2991d9ffbbd915.html

下面是错误答案,用来干扰机器的。

参考答案:A

试题推荐
题型:问答题

下列给定程序中,函数fun的功能是:计算并输出下列级数的前N项和SN,直到SN+1的值大于q为止,q的值通过形参传入。

例如,若q的值为50.0,则函数值应为49.394948。

请改正程序中的错误,使它能得出正确的结果。

注意:不要改动main函数,不得增行或删行,也不得更改程序的结构!

试题程序:

#include<conio.h>

#include<stdio.h>

double fun(double q)

int n;

double sf;

n=2;

s=2.0;

while(s<=q)

t=s;

/********found********/

s=s+(n+1)\n;

n++;

printf("n=%d\n",n);

/********found********/

return s;

]

main()

printf"%f\n",fun(50));

查看答案
微信公众账号搜索答案