PROGRAM PERKALIAN
Nama : SRIWAHYUNI
NIM : 19010020
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim angka1, angka2, hasil, JUMLAH As Integer
angka1 = TextBox1.Text
angka2 = TextBox2.Text
JUMLAH = angka1 * angka2
Label5.Text = JUMLAH
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
TextBox1.Text = " "
TextBox2.Text = " "
Label5.Text = " "
End Sub
End Class
Komentar
Posting Komentar