Professional Documents
Culture Documents
Simple Grading
Simple Grading
lblAve.Caption = Val(lblSum.Caption) / 3
MsgBox ("Congratulations!!!! " + txtFName.Text + " " + txtMI.Text + " " + txtSName.Text + " of " +
txtCYrSec.Text + " you passed your subjects!!!!!"), vbInformation, "message"
Else
MsgBox ("Sorry!!!! " + txtFName.Text + " " + txtMI.Text + " " + txtSName.Text + " of " + txtCYrSec.Text + "
you failed!!!"), vbInformation, "message"
End If
End Sub
Dim a As String
If a = vbYes Then
Unload Me
Else
frmSimplegradingsystem.Show
End If
End Sub