Question: Programming Exercises Chapter 625 The cost to become a member of in fitness center is as follows: (0) the serior citizens discount is 30% (b)

Programming Exercises Chapter 625 The cost to become a member of in fitness center is as follows: (0) the serior citizens discount is 30% (b) If the membership is bought and paid for 12 or more months, the discount is 15%; and (c) 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 display 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 Account for invalid input in the implementation of your program. Your program should consist of the the following function deflon on this function takes no parameters.

Your program should consist of the the following function deflon on this function takes no parameters. The function should display a menu of options (lited below) for the certo choose from and prompt these to make a choice. The function should return the user's choice back to the calling function . 1. Fitness membership plans available 02. Add new member 03. Print new member bill . 4 Print new member information 00. Quit What would you like to do today? Program Assignment Worksheet List Page 1 member infopisplay. This function takes three reference integer parameters corresponding to the whether the patron is a senior citizen, how many months worth of membership they are purchasing, and how many personal training sessions they would like. This function should only display the total number of cups of each size, as well as the total number that has been sold. The output must be in the form shown below. - General member Information # of months: 24 Personal training session of session : 6 Senior citizen: No member111: This function takes three reference integer parameters corresponding to the whether the patron is a senior citizen, how many months

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!