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