Code:
Private Sub cmdReset_Click()
txtPenjualan.Text = ""
txtDiskon.Text = ""
txtTotal.Text = ""
txtPoin.Text = ""
End Sub
Private Sub cmdProses_Click()
If txtPenjualan.Text >= 100000 Then
txtDiskon.Text = txtPenjualan.Text * 0.05
txtDiskon.Text = "5%"
End If
txtTotal.Text = txtPenjualan.Text - (txtPenjualan.Text * 0.05)
End Sub
Private Sub txtTotal_Change()
Select Case Val(txtTotal.Text)
Case Is < 50000
txtPoin.Text = "0"
Case Is < 100000
txtPoin.Text = "10"
Case Is < 250000
txtPoin.Text = "20"
Case Is < 500000
txtPoin.Text = "30"
Case Is > 500000
txtPoin.Text = "50"
End Select
End SubCMIIW om
![[Image: 55295792.png]](http://a.imageshack.us/img43/6623/55295792.png)
Kepintaran tidak menentukan kesuksesan tapi pilihan baiklah yang menentukannya !
Success cannot be reached alone !



