Write a Java GUI program Instructions: Design and create a menu driven program to activate the function of the 2 problem
Posted: Thu May 05, 2022 12:55 pm
Write a Java GUI program Instructions: Design and create a menu driven program to activate the function of the 2 problem written below (the problems should be chosen in a menu to be executed). The program should be in GUI format. Case: 1. The cost to become a member of a ABC Fitness Center is as follows: a) The Senior Citizens discount is 30% b) c) If the membership is bought and paid for 12 or more months in advance, the discount is 15% If more than 5 personal training sessions are paid are purchased, the discount on each session is 20%. Using GUI design format, create a menu driven program that determines the cost of a new membership. The 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 about the membership cost, and a method to determine the membership cost. Use appropriate parameters to pass information in and out of the method. 2. Create a program using GUI format where you are to enter 12 monthly sales (in array) of ABC Enterprises for the year 2022. The program would then output the following: a. Total sales for the year b. Quarterly sales and their subtotal c. Semi-annual subtotals Define your own friendly output format (with all the proper labels and information data).