subject

The cost to become a member of a fitness center is as follows: the membership fee per month is $50.00 the personal training session fee is $30.00 the senior citizens ( > 60) 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%.
Develop a C++ program that determines the cost of a new membership. The program must contain a function that displays the general information about the fitness center and its charges, a function to get all the necessary information to determine the membership cost, and a function to determine the membership cost. Also must be a menu driven program. Given the user 2 options as follows: Calculate membership costs. Quit program. If the user enters 'a' as the option, then display general information, get their details and calculate costs. Then display the menu again. If the user enters 'b', quit the program with an appropriate message. This must loop continuously until the user enters 'b' to quit. (Do not use any global variables.)
Must use the given function prototypes: void information(); void getInfo(bool &senior, int &months, int &personal); double calcCost(bool senior, int months, int personal);

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:00
Which is the highest level of the hierarchy of needs model? a. humanity b. intrapersonal c. team d. interpersonal
Answers: 1
question
Computers and Technology, 23.06.2019 22:50
An environmental protection agency study of 12 automobiles revealed a correlation of 0.47 between engine size and emissions. at 0.01 significance level, can we conclude that there is a positive association between the variables? what is the p value? interpret.
Answers: 2
question
Computers and Technology, 24.06.2019 13:30
Which of the following is not a β€œfatal four” event?
Answers: 2
question
Computers and Technology, 25.06.2019 00:30
How do i take a screenshot on a laptop?
Answers: 2
You know the right answer?
The cost to become a member of a fitness center is as follows: the membership fee per month is $50.0...
Questions
question
Mathematics, 14.01.2020 23:31
question
Mathematics, 14.01.2020 23:31
question
Mathematics, 14.01.2020 23:31
question
Mathematics, 14.01.2020 23:31
Questions on the website: 13722361