Anda di halaman 1dari 2

Nama Siswa Hari / tanggal Standart Kompetensi Nama guru Kompetensi Dasar Waktu Kelas

: Eric Gazza Yudhistira : Senin, 2012 : Sistem info dasar : M. Slamet Riyadi : Membuat dengan aplikasi konvert suhu : 6 X 45 menit : XI TKJ 2

Dim var1 As Single, var2 As Single, var3 As Single, var4 As Single Private Sub Command1_Click() If Text2.Text = "" And Text3.Text = "" And Text4.Text = "" Then var1 = Text1.Text Text2.Text = var1 * (4 / 5) Text3.Text = var1 * (9 / 5) + 32 Text4.Text = var1 + 273 End If If Text3.Text = "" And Text4.Text = "" And Text1.Text = "" Then var2 = Text2.Text Text1.Text = var2 * (5 / 4) Text3.Text = var2 * (9 / 4) + 32 Text4.Text = var2 * (5 / 4) + 273 End If If Text4.Text = "" And Text1.Text = "" And Text2.Text = "" Then var3 = Text3.Text Text1.Text = (var3 - 32) * 5 / 9 Text2.Text = (var3 - 32) * 4 / 9 Text4.Text = (var3 - 32) * 5 / 9 + 273

End If If Text1.Text = "" And Text2.Text = "" And Text3.Text = "" Then var4 = Text4.Text Text1.Text = var4 - 273 Text2.Text = (var4 - 273) * (4 / 5) Text3.Text = (var4 - 273) * (9 / 5) + 32 End If End Sub Private Sub Command2_Click() Text1.Text = "" Text2.Text = "" Text3.Text = "" Text4.Text = "" End Sub