Question: #19 in java language our Phogla may Pp the user to enter the consuntng ne in utes 19. The cost to become a member of


#19 in java language
our Phogla may Pp the user to enter the consuntng ne in utes 19. The cost to become a member of a fitness center is as follows: (a) the Senior citizens discount is 30%; (b) if the membership is bought and paid for 12 or training sessions are purchased, 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 method that displays the general information about the fitness center and its charges, a method to get all the necessary information to determine the membership cost, and a method to determine the membership cost. Use appropriate parameters to pass information in and out ofa method. 20. Write a program that outputs inflation rates for two successive years and whether the inflation rates are increasing or decreasing. Ask the user to input the current price of an item and its price one year and two years ago. To calculate the inflation rate for a year, subtract the price of the item for that year
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
