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

  Write permissions for owner

Change permissions for file "document.txt", with read and write permissions for owner, group and other, but no execute permissions.

  What is the maximum number of processes that it can use

The last element in each sublist has a pointer to the element in the next process. What is the parallel run time and speedup of this formulation? What is the maximum number of processes that it can use?

  Advantages and disadvantages of combining the session

advantages and disadvantages of combining the session

  Find an efficient algorithm to determine

Find an efficient algorithm to determine

  What are the ethical issues raised by this procedure

Compare your reactions to that procedure with your reactions to an analogous one in which people are given false feedback that they possess a very favorable personality trait or a very high ability level.

  Balanced scorecard of performance measures

Identify four categories of measures that might constitute a Balanced Scorecard of performance measures and provide an example of each. Also explain how a Balanced Scorecard could assist your organization. This answer must be in your own words-sig..

  Limited graphical interface

In this unit we are working with Windows Core Server which has a very limited graphical interface. This is one reason why it's necessary to develop your command line skills. Why else is it a good idea to have a strong background in command line to..

  Implementation of a disaster recovery plan

How does an organization benefit from the implementation of a Disaster Recovery Plan? Explain and Discuss Why? mention the references where u get the resources.

  How many rtts does it take to send the file

If the time to send the file is given by the number of required RTTs multiplied by the link latency, what is the effective throughput for the transfer? What percentage of the link bandwidth is utilized?

  Prepare a list of threat categories

Contingency Planning Paper Address the following items: Assume that you have been hired by a small veterinary practice to help them prepare a contingency planning document. The practice has a small LAN with four computers and Internet access. Prepare..

  Describe the mechanism

You may assume that if either of two bit strings x1 and x2 are random, then the exclusive-OR x = x1 ⊕ x2 is random.

  Terms of market dominance

Problem: Compare coke and pepsi in terms of their market dominance. Do thorough research as no plagiarism will be tolerated.

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