Operasional penjumlahan di VB6

Private Sub Command1_Click()
Dim a, b, c, d, e As Double

a = Val(Text1.Text)
b = Val(Text2.Text)
c = Val(Text2.Text)

d = (a + b + c) * 100
e = (a + b + c)

Text5.Text = e
Text4.Text = d

End Sub

Categories: VB6 | Tinggalkan komentar

Navigasi pos

Tinggalkan Balasan

Please log in using one of these methods to post your comment:

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

Buat situs web atau blog gratis di WordPress.com.

%d blogger menyukai ini: