You are on page 1of 1

Name_____________________________________Hour_______

Neds Health Club, Ex 2 pg 472

Lesson 5C

16 points

You are to code an application for Neds Health Club. The application calculates a
members monthly dues by adding the basic fee to the total additional charges, if any.
Additional charges are: Tennis, $30 per month; Golf, $25 per month; and racquetball,
$20 per month. Code each check boxs click event procedure so that it adds the
appropriate additional charge to the additionalCharges variable when the checkbox is
selected, and subtracts the appropriate additional amount from the additionalCharges
variable when the check box is deselected, display the contents of the
additionalCharges variable in the xAdditionalLabel, and also remove the contents of
the xTotalLabel.
1.

Name, Date, Description

1 pt

_____

2.

Option Explicit

1 pt

_____

3.

Module-level variable additionalCharges

4.

Each check box :

1 pt

adds and subtracts as needed


updates the xAdditional Label
clears xTotalLabel
TennisCheckBox_Click() - $30

2 pts

_____

GolfCheckBox_Click() - $25

2 pts

_____

RacquetCheckBox_Click()- $20

2 pts

_____

7.

xBasicTextBox_TextChanged Event

1 pt

_____

8.

Calculate button correct:


Adds everything

3 pts

_____

Formatted as currency

1 pt

_____

9.

TEST DATA:
Basic fee: $80; Golf = $105.00

2 pts

_____

Basic Fee: $80, Tennis & Racquetball = $130.00

_____