no As Integer
name As String
score(1 to 3) As Single
E.nd Type
若对某个学生的各个数据项进行赋值,下列程序段中正确的是( )。
A.Dim S As Stud Stud.no=1001 Stud.name="舒宜" Stud.score=78,88,96
B.Dim S As Stud S.no=1001 S.name="舒宜" S.score=78,88,96
C.Dim S As Stud Stud.no=1001 Stud.name="舒宜" Stud.score(1)=78 Stud.score(2)=88 Stud.score(3)=96
D.Dim S As Stud S.nO=1001 S.name="舒宜" S.score(1)=78 S.score(2)=88 S.score(3)=96