Determines the cost of a new membership

Assignment Help Basic Computer Science
Reference no: EM131308379

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: EM131308379

Questions Cloud

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..
Determines the cost of a new membership : 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 de..
What is the value today of social? securitys promise : Assume that Social Security promises you $36000 per year starting when you retire 45 years from today? (the first $36000 will get paid 45 years from? now). If your discount rate is 6%, compounded? annually, and you plan to live for 17 years after ret..
Capital budgeting is the whole process of analyzing projects : Capital budgeting is the whole process of analyzing projects and deciding whether they should be included in the capital budget. What factors can lead to an increasing marginal cost of capital? How might this affect capital budgeting?
The implied reduced financing cost of the receivables : Suppose that last year a firm had a DSO of 35 days and annual revenues equal to 10,000,000$. The treasury department has made it a goal to reduce the DSO to 30 days, while holding constant revenues. If this reduction is realized, then calculate the f..
Discuss about 3d printing : It is part of my group paper talking about 3D Printing. I am responsible for 2 pages of the paper relate to the ethical problems raised by the use of 3D Printing in Medical area.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Recommend for naming files in business

What kinds of rules would your recommend for naming files in business? For personal use?

  Name the four essential characteristics of cloud computing

What is the benefit of a hybrid cloud deployment approach?

  General-purpose tree-drawing program

Write a general-purpose tree-drawing program that will convert a tree into the following graph-assembler instructions:

  What is its torque constant in ounce-inches per ampere

Show that the units ounce-inches per ampere are proportional to volts per 1000 rpm by reducing both to MKS (SI) units.

  Can you name the country which contributed the video display

It had chips from Intel, disk drives from Tendon, operating system from Microsoft, the printer from Epson and the application software from everywhere.

  Compute the net benefits using the discount rate

Consider the following two projects. Both have costs of $5000 in year1. projects 1 provides benefits of $2000 in each of the first four years only. The second provides benefits of $2000 for each of years 6 to 10 only. Compute the net benefits usin..

  Maturity of one year

A company has issued floating-rate notes with a maturity of one year, an interest rate of LIBOR plus 125 basis points, and total face value of $50 million.The company now believes that interest rates will rise and wishes to protect itself by enter..

  Discuss the successes and challenges of the pilot

Discuss the problem or challenge you addressed

  Repeat the test with the modified program

Repeat the test with the modified program and explain the difference.

  Discuss the advantages of using loops in a program

Please write answers for below it is for an online class discussion can be taken from any online resource if you can please paste the link for reference. 1. Discuss the advantages of using loops in a program.

  What are the two most useful internet services

In your opinion, what are the two most useful Internet services? Explain.In your opinion, what are the two most useful Web applications? Explain.Select two Web 2.0, 3.0, or Internet2 trends to compare. How has each changed typical Internet usage? ..

  What is the regular selling price of the office furniture

Miranda purchases office furniture for a wholesaler listed at $800, less discountes of 20% and 10%. She has overhead expenses of 20% of the cost and wants to have an operating profit if 30% of the cost.

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