网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
以下程序段运行的结果为()
Private Sub Form_Click( )
MyTime = #9:21:30 PM#
MyDate = #7/21/1997#
Print Tab(2); Format(MyDate, "mmmm-yy")
Print Tab(2); Format(MyTime, "hh:mm:ss A/P")
End Sub
A.July-97 9:21:30 P
B.July-97 09:21:30 P
C.07-97 9:21:30 P
D.July-97 9:21:30
参考答案
更多 “ 以下程序段运行的结果为()Private Sub Form_Click( )MyTime = #9:21:30 PM#MyDate = #7/21/1997#Print Tab(2); Format(MyDate, "mmmm-yy")Print Tab(2); Format(MyTime, "hh:mm:ss A/P")End SubA.July-97 9:21:30 PB.July-97 09:21:30 PC.07-97 9:21:30 PD.July-97 9:21:30 ” 相关考题
考题
以下程序段运行的结果为()Private Sub Form_Click( )MyDate = #7/21/1997#Print Format(MyDate, "dddd,mmmm,dd,yyyy")End SubA.21,07,1997B.21,07,21,1997C.Monday,July,21,1997D.Monday,07,21,1997
考题
以下程序段运行后sum的值为()。 int k=0,sum=0; int a[3][4]={1,2,3,4,5,6,7,8,9,10,11,12}; for(;k<3;k++) sum+=a[k][k+1];A.9B.18C.19D.21
考题
有以下程序段: i = 1; s = 0; while i < 7: s = s + i; i = i + 1; if i == 5: break; print("1-7的累加值为:",s); 程序运行后输出的结果为:()A.10B.15C.21D.死循环
考题
22、以下程序段运行后sum的值为()。 int k=0,sum=0; int a[3][4]={1,2,3,4,5,6,7,8,9,10,11,12}; for(;k<3;k++) sum+=a[k][k+1];A.9B.18C.19D.21
考题
8、有以下Python程序段: s=0 for i in range(1,7): if i = = 5: continue s=s+i print("s的值为:",s) 程序运行后输出的结果为:()。A.10B.16C.21D.死循环
考题
1、有以下程序段: i = 1; s = 0; while i < 7: s = s + i; i = i + 1; if i == 5: break; print("1-7的累加值为:",s); 程序运行后输出的结果为:()。A.10B.15C.21D.死循环
热门标签
最新试卷