ISM240 Homework 4 Health Club Membership Fee Calculator

profileSuperClass
 (Not rated)
 (Not rated)
Chat

  

ISM240 - Homework 4

Q1. Health Club Membership Fee Calculator

The Bay City Fitness and Health Club charges the following monthly membership rates:

Adult Membership: $50/month

Child: $20/month

Student:  $30/month

Senior citizen: $40/month

The club also offers the following optional services, which increase the base monthly fee:

Yoga lessons: add $10 to the monthly fee

Zumba lessons: add $15 to the monthly fee

Karate:  add $20 to the monthly fee

Personal Trainer: add $25 to the monthly fee

Create an application that allow the user to select a membership rate, select optional services, and the number of months of the membership. The application should display total fee including 8% sales tax.

The application should have the following functions and procedures.

  

Method


Type


Description

 

CalcBaseFee


Function


Returns the rate of the selected membership type

 

CalcAdditionalFee


Function


Returns the cost of the selected optional services

 

CalcSalesTax


Function


Accepts the subtotal as an argument. Return the amount of   sales tax on that amount. The tax rate should store in a class level   constant.

 

ResetAdditionalFee


Procedure


Resets the optional services check boxes to unchecked

 

ResetMembershipRate


Procedure


Resets the membership rate radio buttons to their initial   value

 

btnCalculate_Click


Event handler


Calculates and displays the total fee.

 

btnExit_Click


Event handler


Ends the application.

 

btnReset_Click


Event handler


Resets the controls on the form to their initial values.

Input validation: Validate the number of months entered by the user.

Graphical user interface – 20 points

Input validation, standard naming conventions, and comments – 10 points

Functions and procedures – 70 points

    • 7 years ago
    ISM240 Homework 4 Health Club Membership Fee Calculator
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      HealthClubMembershipFeeCalculator.zip