【正文】
ord文檔中“粘貼”就可以了。 程序運行界面可運行“評分系統(tǒng)”程序,此程序僅供大家作為參考,請不要雷同。 具體要求: 程序可找出并顯示出最高分和最低分; 最后得分應為去掉最高分和最低分后的平均分; 最后得分要在第二個窗體中以醒目的方式顯示再來。(宋體五號字) Private Sub Command1_Click() End End Sub Private Sub mand2_click() = True = True = True = True = True = True Max = Val(Text1(0)) Min = Val(Text1(0)) For i = 1 To 9 If Val(Text1(i)) Max Then Max = Val(Text1(i)) If Val(Text1(i)) For i = 0 To 9 If Text1(i) = ““ Then x = MsgBox(“裁判沒有打分”, 0 + 48 + 0, “注意”)Exit Sub End If Next i For i = 0 To 9 If Val(Text1(i)) 10 Then x = MsgBox(“分數(shù)不符”, 0 + 48 + 0, “注意”) Text1(i) = ““Exit Sub End If Next i Sum = 0 For i = 0 To 9 Sum = Sum + Val(Text1(i)) Next = Format(Max, “”) = Format(Min, “”) = Format((Sum Max Min) / 8, “”) End Sub Private Sub Command3_Click() x = MsgBox(“是否確認清除”, 1 + 32 + 0, “清除”) If x = 1 Then For i = 0 To 9 Text1(i) = ““ = ““ = ““ = ““ Next i Text1(0).SetFoc