如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制)组成。 Type Stud no As Integer name As String score(1 to 3) As Single End Type 若对某个学生的各个数据项进行赋值,下列程序段中正确的是______。
A.Dim S As Stud Stu no=1001 Stu name=“舒宜”Shl score=78,88,96
B.Dim S As Stud no=1001 name=“舒宜” score=78,88,96
C.Dim SAs Stud Stu no=1001 Stu name=“舒宜”Stu score(1)=78 Stu score(2)=88 Stu score(3)=96
D.DimSAsStud no=1001 name=“舒宜” score(1)=78 score(2)=88 score(3)=96