问题
单项选择题
要建立一个学生成绩的随机文件,如下定义了学生的记录类型,由学号、姓名、三门课 程成绩(百分制)组成,下列程序段正确的是( )。
A.Typepestudl no As Integer name As String score(1 To 3)As Single End Type
B.Typestudl no As Integer no As Integer name As String*10 score()As SingleEnd Type
C.Typestudl no As Integer name As String*10 score(1 To 3)As Single End Type
D.Typestudl no As Integer name As String score(1 To 3)As SingleEnd Type
答案
参考答案:C