皮皮学,免费搜题
登录
搜题
【简答题】
按照功能,完善程序。 功能:请在函数 fun 的横线上填写若干表达式,使从键盘上输入一个整数 N ,输出斐波纳契数列。 说明:斐波纳契数列是一种整数数列,其中,从第三个数起,每数等于前面两数之和, 如: 1 1 2 3 5 8 13 21 ... 请勿改动主函数 main 和其他函数中的任何内容,仅在 fun 函数的横线上填入所编写的若干表达式或语句。 试题程序: #include int fun(int n); int main( ) { int i, n = 0; scanf("%d", &n); for (i=0; i printf("%d ", fun(i)); return 0; } int fun( int n ) { if( 第 1 个空 ) return 0; else if ( 第 2 个空 ) return 1; else return 第 3 个空 ; }
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】选择方框中的句子补全对话(有两项多余)。 A. How's it going? B. What are you doing now? C. What is she doing? D. This is Mary speaking. E. It's sunny. F. How's the weather in Beijing? G. Do you like rainy days? A: Hello! ...
【单选题】集成运放电路采用直接耦合方式是因为
A.
可获得很大的放大倍数
B.
可使温漂小
C.
集成工艺难于制造大容量电容
D.
以上答案都不对
【简答题】根据所给情景,给问句选择答语。 (     ) 1. Where is Tom? (     ) 2. Do you have a ruler? (     ) 3. What are they doing? (     ) 4. What are they going to do? (     ) 5. Are they new pupils? (     ) 6. Thank you. (  ...
【单选题】— What do you think of teacher, Bob? — I find it fun and challenging. It is a job _____ you are doing something serious but interesting. [     ]
A.
where
B.
which
C.
when
D.
that
【单选题】集成运放电路采用直接耦合方式是因为 。
A.
可获得很大的放大倍数
B.
可使温漂小
C.
集成工艺难于制造大容量电容
D.
电源电压不稳定
【简答题】III . 根据对话内容,从方框中选择恰当的选项补全对话,其中有两项多余。 A: Hi, Alice! (1) ________ B: I’m a plan for next weekend. A: Oh? What are you going to do next weekend? B: (2) ________ A: Really? I went there last weeke...
【单选题】—What ______ you ______ when the phone rang? —I was washing my hair in the bathroom. [     ]
A.
were, doing
B.
was, doing
C.
did, do
D.
are, doing
【单选题】听力原文:M: Hi, Karen. Your roommate told me that I could find you here. What are you doing here?: W: What does it look like I am doing? M: Well, it looks like you are watching television. But we have a m...
A.
The TV program.
B.
The appearance of Elizabeth.
C.
The man's headache.
D.
The mid-term examination.
【简答题】One day Mr. and Mrs. Green went shopping by ear. They stopped their car near a shop. They bought many things from the shop and the things were very heavy. They wanted to put the things in their car. B...
【单选题】集成运放电路采用直接耦合方式是因为:
A.
零漂小
B.
能放大交直流信号
C.
集成工艺难于制造大容量电容
相关题目: