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