更多"下面程序的运行结果为 【11】 。 x = -2.3 y = 12"的相关试题:
[填空题]下面程序的运行结果为【16】。
x;-2.3
y=125
z=Len(Str$(x)+Str$(y))
Print z
[填空题]下面程序的运行结果为 【11】 。
x = -2.3
y = 125
z = Len(Str$(x) + Str$(Y))
Print z
[填空题]下面程序的运行结果为 【15】 。
x=-2.3
y=125
z=Len(Str$(x)+Str$(Y))
Print z
[填空题]下面程序的输出结果为______。
a=4.5
b=-123
c=Len(Str(b)+Str(a))
MsgBox c
[填空题]下面程序的输出结果为______。
a=4.5
b=-123
c=Len(Str(b)+Str(a))
MsgBox c
[填空题]下面程序的输出结果为______。
a=4.5
b=-123
c=Len(Str(B) +Str(A))
Msg Box c
[填空题]当输入10,11,12时,下面程序运行结果是 【6】 。
#include<iostream>
using namespace std;
int main( )
{
int a,b,C,max;
cin>>a>>b>>C;
if(max<b)
max=b;
if(max<c)
max=c;
cout<<max<<endl;
return 0;
}
[填空题]当输入10,11,12时,下面程序运行结果是 【6】 。
#include <iostream>
using namespace std;
int main( )
int a,b,C,max;
Cin>>a>>b>>c;
max=a;
if(max<b)
max=b;
if(max<c)
max=c;
cout<<max<<end1;
return 0;
[填空题]下面程序和运行运行结果是【 】。
typedef union student
{ char name [10];
long sno;
char sex;
float score [4];
} STU;
main ( )
{ STU a[5];
prinff( "% d/n", sizeof(a) );
}
[填空题]下面程序运行的结果为
1
11 12
21 22 23
31 32 33 34
请在画线处填上适当的内容使程序完整。
Private Sub Form_Click( )
Call [13]
End Sub
Private Sub Pl6( )
End Sub
Private Sub p16( )
ForI=1 to 4
Forj=1 to I
a= [14]
Print Tab(j-1)*5+1);a;
Nextj
Print
NextI
End Sub
[单项选择]下面程序运行的结果是( )。 #include<iostream> using namespace std; class A{ protected: int a; public: void input(int i) {a=i;} }; class B{ protected: int a; public: void input(int j) {a=j;} }; class C: public A, public B { int x; public: void input( ) {x=A::a * B::a;cout<<x<<endl;} }; void main( ) { C c; c.A::input(5); c.B::input(8); c.input( ); }
A. 5
B. 8
C. 40
D. 编译出错