If you want to use your Business Telecard International, you have to______.A.use a card ph
If you want to use your Business Telecard International, you have to______.
A.use a card phone
B.phone on Sunday
C.make a direct dialing call
D.pay extra
If you want to use your Business Telecard International, you have to______.
A.use a card phone
B.phone on Sunday
C.make a direct dialing call
D.pay extra
第1题
以下程序的输出结果是 ______。 #include<iostream.h> Int f(){ static int i=0; int a=1; a+=; i++; return a; } void main() { int i,s=0; for(i=0;i<4;i++) s+=f(); cout<<s;
A.10
B.15
C.21
D.28
第2题
以下程序的输出结果是 #include<iostream.h> int f() { static int i=0; int s=1 s+ =i; i++; return s;} void main() { int i,a=0; for(i=0 ;i<5;i++)a+=f(); cout < < a;}
A.20
B.24
C.25
D.15
第3题
以下程序的输出结果是【 】。
include<iostream.h>
void main()
}
int a=0;
a+=(a=8) ;
cout<<a;
}
第4题
以下程序的输出结果是 #include<iostream.h> void main() { int a=21,b=11; cout<<- -a+b;}
A.30
B.31
C.32
D.33
第5题
有以下程序 #include<iostream.h> int f(int n) {if(n==1)return1; else return f(n-1)+1} voidmain() {int i,j=0; for(i=l i<3;i++)=i+=f(i); cout<<j;} 程序运行后的输出结果是()。
A.4
B.3
C.2
D.1
第6题
若从键盘输入70,则以下程序输出的结果是【 】。
include<iostream.h>
void main()
{
int a; cin>>a;
if(a>50) cout<<a;
if(a>40) cout<<a;
if(a>30) cout<<a;
}
第7题
有以下程序()。 #include<iostream.h> int f(int n) { if(n==1)return 1; else return f(n-1)+1; } void main() { int i,j=-; for(i=1;i<3;i++) j+=f(i); cout<<j<<endl; } 程序运行后输出结果是()。
A.4
B.3
C.2
D.1
第8题
有以下程序()。 #include<iostream.h> int f(int n) { if(n==1)return l; else return f(n-1)+1; } void main() { int i,j=-; for(i=1;i<3;i++) j+=f(i); cout<j<<endl; } 程序运行后输出结果是()。
A.4
B.3
C.2
D.1
第9题
以下程序的输出结果是 #include<iostream.h> void reverse(int a [ ] ,int n) {int i,t; for(i=0;i<n/2;i++) {t=a[i];a[i]=a[n-1-i];a[n-1-i]=t;} } void main() {int b[10]={1,2,3,4,5,6,7,8,9,10}
A.22
B.10
C.34
D.30
第10题
以下程序的输出结果是()。 #include<iostream.h> main() { int m=5; if(m++>5) cout<<m; else cout<<m--; }
A.7
B.6
C.5
D.4
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!