Determine the membership cost

Assignment Help Basic Computer Science
Reference no: EM131308384

The cost to become a member of a fitness center is as follows:

  • The senior citizens discount is 30%
  • If the membership is bought and paid for 12 or more months, the discount is 15%
  • If more than five personal training sessions are bought and paid for, 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 function that displays the general information about the fitness center and its charges, a function to get all of the necessary information to determine the membership cost, and a function to determine the membership cost. Use appropriate parameters to pass information in and out of a function. (Do not use any global variables.)

Reference no: EM131308384

Questions Cloud

What mental models do you have about attending a college : What mental models do you have about attending a college or university lesson? Are these mental models helpful? Could any of these mental models hold you back from achieving the full benefit of the lesson?
How do object-oriented analysis and design : How do object-oriented analysis and design (OOAD) methodologies compare to the traditional structured analysis and design methodologies covered earlier in the book?
Working part-time and planning to deposit : You are working part-time and planning to deposit $5,000 each year of the next 5 years in a saving account which offers 2.5% per annum. You currently have $500 in the account. How much will you have 5 years later? 5 years later, you would have $_____..
Why is emotions management important in this job : To what extent do the three people featured in this case study manage their own emotions on the job? How would they accomplish this?To what extent do you think they effectively manage emotions under these circumstances?This case study states that ..
Determine the membership cost : Your program must contain a function that displays the general information about the fitness center and its charges, a function to get all of the necessary information to determine the membership cost, and a function to determine the membership co..
Assuming that no earnings restatements were issued : On its 12/31/13 balance sheet, Acton, Inc. showed $510 million of retained earnings, and $700 million was shown in the prior year. Assuming that no earnings restatements were issued, is it possible that Acton paid dividends in 2013? Explain.
What is the amount of net working capital : Zantel Inc. has current assets of $4,700, net fixed assets of $24,300, short-term debt of $1,000, total current liabilities (including short-term debt) of $4,100, and long-term debt of $14,000. What is the value of Zantel’s total equity on balance sh..
Explain the current state of web application security : Briefly explain the current state of Web application security to the Board of Directors. Describe the major potential security risks associated with maintaining the organization's Web presence, protecting its assets, and promoting e-Commerce. Asse..
What is the maximum growth rate the firm : Upton Computers makes bulk purchases of small computers, stocks them in conveniently located warehouses, ships them to its chain of retail stores, and has a staff to advise customers and help them set up their new computers. That is, what is the maxi..

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Is this still true when there are no messages in transit

Is this still true when there are no messages in transit?

  Question regarding the time of algorithm

Given two sorted arrays A and B, of sizes n1 and n2 respectively, design an algorithm to find the kth largest key. The order of growth of the worst case running time of your algorithm should be log n, where n = n1+n2

  Write a function template that finds median of three values

The median of three numbers is the middle number after the three numbers have been arranged in increasing order. Write a function template that finds the median of three values.

  Aspects of designing business presentations

Create an 8- to 10-slide presentation that should be 5 to 10 minutes in length. Please include detailed speaker notes, based on the Week 4 Persuasive Messages Part I & Part II assignment. Apply the four aspects of designing business presentations dis..

  Implications of using the security device or mechanism

What would you envision as being the legal, social, and/or ethical implications of using the security device or mechanism?

  Create a tracker class that displays a circle in a graphics

Use your new Tracker class in conjunction with the Projectile class to write a program that graphically depicts the flight of a cannonball.

  Planning for a security policy

The policies that organizations put in place are similar to laws in that they are directives for how to act properly. Like laws, policies should be impartial and fair and are often founded on ethical and moral belief systems of the people who crea..

  Write this report addressing

Your supervisor has asked you to draft a brief report that describes the "Internal Use Only" data classification standard of Richman Investments.

  Find the rate of heat loss from the steam

Steam flows steadily through a turbine at a rate of 45,000 lbm/h, entering at 1000 psia and 9008F and leaving at 5 psia as saturated vapor. If the power generated by the turbine is 4 MW, determine the rate of heat loss from the steam

  Web e mail

Is web e mail access easier to use than other versions of e-mail.

  Create and populate a linkedlist

Create and populate a LinkedList using a one dimensional array. Add 6 numbers to this LinkedList. Search this LinkedList and find the smallest number.

  Given the outputs of the preorder and inorder traversals

Given the outputs of the preorder and inorder traversals

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd