Exercise 6

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Exercise 6

Public Class Form1


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
Label6.Text = (Val(TextBox1.Text) + Val(TextBox2.Text) + Val(TextBox3.Text) +
Val(TextBox4.Text)) / 4
End Sub
End Class

You might also like