UAS PEMROGRAMAN VISUAL BASIC

Codingnya

Private Sub Command1_Click()
Dim NA As Integer
UTS = Text1.Text
UAS = Text2.Text
ket = Text4.Text

NA = Val(0.4 * UTS) + Val(0.6 * UAS)
Text3.Text = NA

If NA >= 80 Then
Text4.Text = “baik”
Else
If NA >= 66 Then
Text4.Text = “CuKuP”
Else
If NA < 66 Then
Text4.Text = “Kurang”
End If
End If
End If

End Su

Soal no: 2

listing coding

Private Sub Option1_Click()
Text1.Text = “SISTEM BASIS DATA”
Text2.Text = “4”
Text3.Text = “Keahlian”
End Sub
Private Sub Option2_Click()
Text1.Text = “SIM”
Text2.Text = “4”
Text3.Text = “Keahlian”
End Sub
Private Sub Option3_Click()
Text1.Text = “KALKULUS”
Text2.Text = “3”
Text3.Text = “Umum”
End Sub

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: