网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

下列程序执行后,输出结果是( )。

For n=3 To 1 Step-1

x$=String$(n,"#")

Print x$

Next n

A.1# 2# 3#

B.)### ## #

C.# ## ##

D.3# 2# 1#


参考答案

更多 “ 下列程序执行后,输出结果是( )。For n=3 To 1 Step-1x$=String$(n,"#")Print x$Next nA.1# 2# 3#B.)### ## #C.# ## ##D.3# 2# 1# ” 相关考题
考题 下列程序执行后,输入结果是()。 For n = 3 To 1 Step - 1 x$ = String$(n,"#") Print x$ Next inA. 1# 2# 3# B. ### ## #C. # ## ### D. 3# 2# 1#

考题 有以下程序: #include stdio.h main( ) { struct node{int n; struct node*next;} *P; struct node x[3]={{2,x+1),{4,x+2},{6,NULL}}; P= X; printf("%d,",p-n); printf("%d\n",p-next-n); } 程序运行后的输出结果是( )。A.2,3B.2,4C.3,4D.4, 6

考题 下列程序执行后的输出结果是( )。 main { char x=0xFFFF;printf("%d\n",x--);}A. -32767SXB 下列程序执行后的输出结果是( )。 main { char x=0xFFFF;printf("%d\n",x--);}A. -32767B.FFFEC.1D.32768

考题 下列程序执行后,输出的结果是______。 public class exl7 { public static void main(String[] args) int a=3; int b=4; int x=5; if(++a<b) x=x+a; else if(a--<-b) x-x-a; System.cut.print(x); } }A.4B.5C.3D.2

考题 有以下程序#ncludestdio.hmain(){ struct node{int n;struct nodc*next;}*p;struct node x[3]={{2,x+1},{4,x+2},{6,NULL}};p=x:printf("%d,",p-n);printf("%d\n",P-next-n);}程序运行后的输出结果是A.2,3B.2,4C.3,4D.4,6

考题 下述程序执行后,输出结果是( )。 For n = 3 To 1 Step-1 x$ = String$(n, "#") Print x$ Next nA.1# 2# 3#B.### ##C.# ## ###D.3# 2# 1#

考题 下述程序执行后,输出结果是( )。 For n=3 To 1 Stew -1 x$=String$(n,"#") Print x$ Next nA.1# 2# 3#B.### ## #C.# ## ###D.3# 2# 1#

考题 下列程序执行后的输出结果是()。includeincludemain(){char arr[2][4]; str 下列程序执行后的输出结果是( )。 #include<stdio.h> #include <string.h> main() { char arr[2][4]; strcpy(arr[0],"you");strcpy(arr[1],"me"); arr[0][3]=''; Printf("%s\n",arr); }A.youmeB.youC.meD.err

考题 试题37有以下程序#include stdio.hmain(){ struct node {int n; struct node *next; }*p;struct node x[3]={{2,x+1},{4,x+2},{6,NULL}};p=x;printf(“%d,”, p?n);printf(“%d\n”, p?next?n);}程序运行后的输出结果是()A.2,3B.2,4C.3,4D.4,6