Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | Apr 2017 |
Last Sign in: | 4 Weeks Ago |
Questions Answered: | 7559 |
Tutorials Posted: | 7341 |
BS,MBA, PHD
Adelphi University/Devry
Apr-2000 - Mar-2005
HOD ,Professor
Adelphi University
Sep-2007 - Apr-2017
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
Â
ISM-----------240----------- Ho-----------mew-----------ork----------- 4 -----------Hea-----------lth----------- Cl-----------ub -----------Mem-----------ber-----------shi-----------p F-----------ee -----------Cal-----------cul-----------ato-----------r-----------