Professional Documents
Culture Documents
Public Class Form2
Public Class Form2
a = TextBox1.Text
b = TextBox2.Text
c = TextBox3.Text
d = TextBox4.Text
e1 = a + b + c + d
ave = e1 / 4
G1 = G & vbNewLine & "The remarks is Passed" & vbNewLine & "Congratulations!! Moving Up..."
G2 = G & vbNewLine & "The remarks is Conditional" & vbNewLine & "Goodluck on your remedial"
G3 = G & vbNewLine & "The remarks is Failed" & vbNewLine & "Welcome Back..."
Label7.Text = G1
Label7.Text = G2
Label7.Text = G3
Label7.Text = G4
End If
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
Button2.Click
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
Label7.Text = "RESULTS"
End Sub
End Class