问题 单项选择题

单击命令按钮,并在对话框内依次输入99,73,84,88,-1,下列程序段的执行结果为______。 Private Sub Command1_Click()Dim S As Single, max As Single, min As Singlen=0S=InputBox("Please enter a score")max=Smin=SDo While S>=0If S>max Then max=SEnd IfIf S < min Then min=SEnd IfS=InputBox("Please enter a score")n=n+1LoopPrint n; ":"; max, min End Sub

A.4:99,88

B.4;99,73

C.4:99,73

D.4;99,88

答案

参考答案:C

单项选择题 B型题
名词解释