Fitness Center New Membership Cost Program Analysis To Program Design

Anonymous
timer Asked: Mar 12th, 2019
account_balance_wallet $30

Question Description

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.

Unformatted Attachment Preview

Java Programming: From Problem Analysis to Program Design 7-1 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. 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 ...
Purchase answer to see full attachment

Tutor Answer

ProgrammerOctavia
School: UC Berkeley

At...

flag Report DMCA
Review

Anonymous
Tutor went the extra mile to help me with this essay. Citations were a bit shaky but I appreciated how well he handled APA styles and how ok he was to change them even though I didnt specify. Got a B+ which is believable and acceptable.

Similar Questions
Related Tags

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors