1. Dim b(4) As String
Dim c(4, 4) As Integer
Dim d, f As Integer
Dim p(4) As Integer
Dim total As Integer
Dim average As Double
ListBox1.Items.Add ("Student Names" , & vbTab
& "HTML" & vbTab & "PHP" & vbTab & "ASP.NET" &
vbTab & "C++")
ListBox1.Items.Add("_________________________________
____________________________________________________"
)
For d = 0 To 4
b(d) =
Microsoft.VisualBasic.InputBox("Enter Std Name", "Std
Reg", "Write here")
For f 0 to 4
c(d, f) =
Microsoft.VisualBasic.InputBox("Enter Std Marks",
"Store Marks", "Enter here")
p(f) = c(d, f)
total = p(0) + p(1) + p(0) + p(2) +
p(3) + p(4)
average = total / 5