Hi people I need a little help displaying my the names and scores of a test for each student, So far I have got it to display just the score but I also need the name
Here is my code so far.
This is what it's showing at the moment, I'd like it to show the score for each person rather than just a score.
Here is my code so far.
VB.NET:
msg = "The English scores are:" & vbNewLine For k = 0 To englishScore.GetUpperBound(0)
If k Mod 5 = 0 And k <> 0 Then
msg = msg & vbNewLine
End If
msg = msg & englishScore(k) & vbTab
Next
MessageBox.Show(msg)
MessageBox.Show("The minimum number is " & min)
MessageBox.Show("The maximum number is " & max)
MessageBox.Show("The average number is " & average)
msg2 = "The Math scores are: " & vbNewLine
For l = 0 To mathScore.GetUpperBound(0)
If l Mod 5 = 0 And l <> 0 Then
msg2 = msg2 & vbNewLine
End If
msg2 = msg2 & mathScore(l) & vbTab
Next
MessageBox.Show(msg2)
MessageBox.Show("The minimum number is " & min2)
MessageBox.Show("The maximum number is " & max2)
MessageBox.Show("The average number is " & average2)
End Sub
This is what it's showing at the moment, I'd like it to show the score for each person rather than just a score.