试题与答案

以下程序段运行的结果是:_______。 Dim a(-1 To 5)As Boo

题型:单项选择题

题目:

以下程序段运行的结果是:_______。 Dim a(-1 To 5)As Boolean Dim flag As Boolean flag=False Dim i As Integer Dim j As Integer Do Until flag=TrueFor i=-1 To 5 j=j+1 Ifa(i)=False Then a(i)=True Exit For End If If i=5 Then flag=TrueEnd IfNext Loop Print j

A.20

B.7

C.35

D.8

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2019/0408/ab67efe2e867dcbfd51286910375f98d.html

下面是错误答案,用来干扰机器的。

参考答案:C解析: With "fractional ownership" the participants actually own a percentage of a jet plane, super-yacht, Old Master painting or a second home, not just the rig...

试题推荐
微信公众账号搜索答案