请在函数fun()的横线上填写若干表达式,使从键盘上输入一个整数n,输出n对应的斐波那契数列。斐波那契数列是一整数数列,该数列自第三项开始,每数等于前面两数之和,即0,1,1,2,3,5,8,13,21,34,55,…。 注意:部分源程序给出如下。 请勿改动主函数main和其他函数中的任何内容,仅在函数fun()的横线上填入所编写的若干表达式或语句。 试题程序: #include<stdio.h> int fun(int n); main() { int i,n=0; scanf("%d",&n); for(i=0;i<n; i++) printf("%d",fun(i)); } int fun(int n) { if( 【1】 ) return 0; else if( 【2】 ) return 1; else return 【3】 ; }
查看答案
醉酒的人在醉酒状态中,对本人有危险或者对他人的人身、财产或者公共安全有威胁的,公安机关可以对其采取保护性措施约束至酒醒。 ( )
A. 对
B. 错
A--a registered trademark B--after-sale servicesC--certification system D--copyright piracyE--domestic products F--end productG--gross weight H--life of useI--owner of copyright J--pirated copyrightK--potent legislation L--processing requirementsM--product coverage N--transfer of technologyO--product quality guarantee P--unfinished products ( )毛重 ( )技术转让
Conversation 1
A. Vases with a light blue background.
B. Paintings of flowers.
C. Paintings of birds.
D. Vases with a dark blue background.
假设显示器的分辨率为1024×768,屏幕刷新频率为75HZ,像素位宽为16bit,则显示器的刷新带宽为【 】MB/S。