Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim sisi1, sisi2, hasil As Integer
sisi1 = TextBox1.Text
sisi2 = TextBox2.Text
hasil = Val(TextBox1.Text) * Val(TextBox2.Text)
TextBox3.Text = hasil
End Sub
End Class
Komentar
Posting Komentar