试题与答案

以下程序的功能是从键盘输入若干个学生的考试成绩,统计并输出最高分和最低分,当输 入负

题型:填空题

题目:

以下程序的功能是从键盘输入若干个学生的考试成绩,统计并输出最高分和最低分,当输 入负数时结束输入,输出结果。请补充完整下列程序段。  Dim x,amax,amin As Single  x=InputBox("Enter a score")  amax=x  amin=x  Do While【】    If x>amax Then    amax=x   End If   If【】Then    amin=x   End If   x=InputBox("enter a score")  Loop  Print"max=";amax,"min=";amin

答案:

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

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

参考答案:B

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