Categories: Uncategorized

Fitness Center New Membership Cost Program Analysis To Program Design

The cost to become a member of a fitness center is as follows: (a) the Senior citizens discount is 30%; (b) if the membership is bought and paid for 12 or more months in advance, the discount is 15%; or (c) if more than 5 personal training sessions are purchased, the discount on each session is 20%. Write a menu driven program that determines the cost of a new membership. Your program must contain a method that displays the general information about the fitness center and its charges, a method to get all the necessary information to determine the membership cost, and a method to determine the membership cost. Use appropriate parameters to pass information in and out of a method.

The cost to become a member of a fitness center is as follows: (a) the Senior citizens discount is 30%; (b) if the membership is bought and paid for 12 or more months in advance, the discount is 15%; or (c) if more than 5 personal training sessions are purchased, the discount on each session is 20%. Write a menu driven program that determines the cost of a new membership. Your program must contain a method that displays the general information about the fitness center and its charges, a method to get all the necessary information to determine the membership cost, and a method to determine the membership cost. Use appropriate parameters to pass information in and out of a method.

Don't use plagiarized sources. Get Your Custom Essay on
Fitness Center New Membership Cost Program Analysis To Program Design
Get an essay WRITTEN FOR YOU, Plagiarism free, and by an EXPERT!
Order Essay

TAKE A SCREEN SHOT OF THE RESULTS

LAB 5:  Create this program as a GUI program

The first screen of your GUI will show the cost of membership and all of the discount options.  Use JTextArea on page 811 for this part.

Membership Cost: $500

Training Sessions Cost: $100 per session

List the discounts here.

3 user like on page 354, using JTextField for the input, Jlabel to describe what you want them to input and some buttons. (Calculate, Exit)

1. The user can choose 1 or 2 (Yes, No) for Senior or it can be a yes or no input.

2. Have the user enter number of months, or you can give them choices. 6, 12, 18 month options.

3. Have the user enter number of training sessions they wish to purchase.

Finally, when the user clicks on the Calculate button.  You will show their membership cost.

TAKE A SCREEN SHOT OF THE RESULTS

 

Suzie Mercy

Recent Posts

What is the easy difination of science | Quick Solution

Science is the pursuit and application of knowledge and understanding of the natural and social…

3 years ago

definition, values, meaning of such values and type of goods with such elasticity value …….. | Quick Solution

Clearly stating the definition, the values, the meaning of such values and the type of…

3 years ago

Acct 422 – Nora D | Quick Solution

All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures…

3 years ago

Acct 322 – Nora D | Quick Solution

All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures…

3 years ago

Macro Economics Question | Quick Solution

https://www.npr.org/sections/ed/2018/04/25/605092520/high-paying-trade-jobs-sit-empty-while-high-school-grads-line-up-for-university Click on the link above. Read the entire link and answer the questions below…

3 years ago

MGT 322 – Nora D | Quick Solution

All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures…

3 years ago