网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
下面程序执行结果是()。CLEARX=5Y=6Z=7IF X>Y IF Z>8X=X+YELSEX=X+ZENDIFENDIF?X
A
5
B
11
C
12
D
13
参考答案
参考解析
解析:
暂无解析
更多 “单选题下面程序执行结果是()。CLEARX=5Y=6Z=7IF XY IF Z8X=X+YELSEX=X+ZENDIFENDIF?XA 5B 11C 12D 13” 相关考题
考题
阅读下面程序,则在执行时候的输出为 【8】 。#include "stdio.h"main(){int x=1,y=2,z=0;if(x=2)z=x,x=y,y=z;printf("%d,%d\n",x,y);}
考题
下面程序的输出结果是 ( )main( ){ int x,y,z;x=0,y=z=-1;x+=-z- - -y;pritnf("x=%d\n",x);}A.x=4B.x=0C.x=2D.x=3
考题
下列程序段的执行结果是( )。x = 3 : y = 5 : z = 9x = x + yy = x - yIf x - y >z - x Then z = x + yIf x + y >z - y Then x = z + yPrint x, y, zA、 3 5 9B、 14 3 11C、 8 3 11D、 8 5 9
考题
在窗体上画一个命令按钮,然后编写如下事件过程:Private Sub Command1_Click()Dim Y as StringX=5Y=X Space(3) XPrint X;Print Trim(Y);Len(Trim(Y))End Sub该程序的执行结果是【 】。
考题
以下程序执行后的输出结果是( )。include usingnamespacestd;void try(int,int,int,in
以下程序执行后的输出结果是( )。 #include <iostream> using namespace std; void try(int,int,int,int); int main ( ) { int x,y,z,r; x=1; y=2; try(x,y,z,r); cout<<r<<end1; return 0; } void try(int x,int y, int z,int r) { z = x+y; x = X*X; y = y*y; r = z+x+y; }A.18B.9C.10D.不确定
考题
下面程序:Private Sub Form_Click()Dim x,y,z As Integerx=5y=7z=0Call P1(x,y,z)Print Str(z)End SubSub P1(ByVal a As Integer, ByVal b As Integer, c As integer)c=a+bEnd Sub运行后的输出结果为A.0B.12C.Str(z)D.显示错误信息
考题
若执行下述程序时,从键盘输入的数据是3和6,则程序的输出结果是()。includevoid main(){
若执行下述程序时,从键盘输入的数据是3和6,则程序的输出结果是( )。 #include <stdio.h> void main() {int x,y,z; scanf("%d%d",X,y); z = y + x; if (x<y) z = y + x; printf("%d",z); }A.9B.3C.0D.有语法错误
考题
下面程序的运行结果是( )。 X=-2.3y=125z=Len(StrS(x)+StrS(y))Print Z A.4B.8
下面程序的运行结果是( )。 X=-2.3y=125z=Len(StrS(x)+StrS(y))Print ZA.4B.8C.9D.3
考题
下面程序的输出结果是 ( ) main( ) {int x,y,z; x=0;y=z=-1; x+=-z - - -y printf("x=%d\n",x); }A.x=4B.x=0C.x=2D.x=3
考题
在窗体中添加一个命令按钮,并编写如下程序: Private Sub Command1_CliCk() X=1∶Y=2∶Z=3 X=Y∶Y=Z∶Z=X Print Z End Sub 程序执行后,输出的结果是______。A.3B.0C.2D.1
考题
下面程序执行的结果是( )。 CLEAR X=5 Y=6 Z=7 IF X>Y IF Z>8 X=X+Y ELSE X=X+Z ENDIF ENDIF ?XA.5B.11C.12D.13
考题
有以下程序:includemain(){int x=0,y=5,z=3; while(z-->0 ++x
有以下程序: #include <sldio.h> main() { int x=0,y=5,z=3; while(z-->0 ++x<5) y=y-1; printf("%d,%d,%d\n",x,y,z); } 程序执行后的输出结果是( )。A.3,2,0B.3,2,-1C.4,3,-1D.5,-2,-5
考题
下面程序:Private Sub Form_Click()Dim x,y,z As Integerx=5y=7z=0Call P1(x,y,z)Print Str(z)End SubSub P1(By Val a As Integer, By Val b As Integer, c As Integer)c=a+bEnd Sub运行后的输出结果为______。A.0B.12C.Str(2)D.显示错误信息
考题
若有如下程序: main() {int x=3,y=4,z; z=(x+(y-=X*X)); printf("%d,%d\n",y,z); } 则程序执行后的输出结果是( )。A.-4,2B.-5,-2C.-5,-1D.4,-2
考题
【题目描述】
第 65 题阅读下面程序,则在执行时候的输出为【8】。
#includestdio.h
main()
{intx=1,y=2,z=0;
if(x=2)z=x,x=y,y=z;
printf(%d,%d\n,x,y);}
考题
下面程序的输出结果是()。includevoid main(){int x=-1,y=5,z;z=(x++
下面程序的输出结果是( )。#include<iostream.h>void main(){int x=-1,y=5,z;z=(x++<0) (y-->=0);cout<<x<<'\t'<<y<<'\t'<<z<<end1;}A.-1 5 0B.-1 4 1C.0 4 1D.0 4 0
考题
以下程序执行后的输出结果是include.using namespace std;void try(int,int,int,int)
以下程序执行后的输出结果是 #include<iostream>. using namespace std; void try(int,int,int,int); int main() { int x,y,z,r; x=1; y=2; try(x,y,z,r); cout<<r<<end1; return 0; } void try(int x,int y, int z,int r) { z = x+y; x = x*x; y = y*y; r = z+x+y; }A.18B.9C.10D.不确定
考题
对于下面的程序段: x:=28; y:=20; z:=30; if xy then z:=x+y; x:=y; z:=x+y; y:=z; 执行该程序段后,变量y的值为()A、28B、30C、40D、48
考题
单选题对于下面的程序段: x:=28; y:=20; z:=30; if xy then z:=x+y; x:=y; z:=x+y; y:=z; 执行该程序段后,变量y的值为()A
28B
30C
40D
48
考题
单选题下列程序段的执行结果是()。 X=5:Y=5:Z=6 WriteLine("E({0})", X+Y*Z)A
E(60)B
E(35)C
E(X+Y*Z)D
X+Y*Z
热门标签
最新试卷