Professional Documents
Culture Documents
Acs 10-16
Acs 10-16
-(Sem, n
226
Captiona &Calculate
Command Button Name cmdClear
Caption C&slear
Command Button Name cmdPrint
Caption &Print
Command Button Name cmdExit
Caption E&xit
Note: The Enabled property of some text boxes has been set to False so that the
user cannot type anything in these boxes. The result of calculation is displayedin
these text boxes.
Step 2: Type the following code in the code window
Code
'Purpose: Tax calculator
minc Val(txtlncome.Text)
ainc
=
12 * mincc