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

  How does cpu interface with device to coordinate transfer

Direct memory access is used for high-speed I/O devices to avoid increasing the CPUÂ ´s execution load. How does CPU interface with device to coordinate transfer?

  Write down the sums of squares, the degrees of freedom

A, B, and C are fixed and D is random. Do exact tests exist for all effects? If not, propose test statistics for those effects that cannot be directly tested.

  A subroutine in marie assembly that multiplies two value

1)Write a subroutine in MARIE assembly that multiplies two values where the arguments for this subroutine are two pointers(each pointing to a value). The routine, multiply(a,b), performs *a x *b where a's value is the address storing the value being ..

  What makes them suitable for udp

HTTP, FTP, SMTP, IMAP, and POP3 are among the most commonly used application protocols.

  Concept of computable function

Church's thesis equates the concept of computable function" with those functions computable by, for example, Turing machines. Which of the following is true of Church's thesis?

  Construct truth table

Their is supposed to be a line over the yz in the middle part and a line over xyz at the end but i could not figure out how to do it.

  Introduce some problems with social media

Introduce some problems with social media that have negatively impacted the academic performance of college students.  Social media has created several social problems that have changed the way college students live.

  The database developer for a local colleg

Suppose that you are the database developer for a local college. The Chief Information Officer (CIO) has asked you to provide a summary of normalizing database tables that the IT staff will use in the upcoming training session.

  Clearly show the primary and foreign keys for each entity

CTD needs to also record the cars that were sold by each franchisee: the type and range, the date sold and the salesperson who sold the car. Accordingly a franchisee may sell many cars of the same type and range.

  Write files which do not reside at root or master directory

Provide the example of names of three files from own computer that do not reside at the root or master directory. For each file, list both therelative filename and its complete filename.

  Considering variants of the motherboard

When considering variants of the motherboard including: Full ATX, Micro-ATX, is the difference between these boards just the size of the desktop casing or do they have a difference in power and perhaps expansion slot?

  Discuss and analyze the mbti outcomes

Discuss and analyze the MBTI outcomes for yourself and for your teammates. Based on the MBTI insights, consider: How you might improve your working relationships with your teammates.

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