Question: help please Write a program that can define Membership as in the claw diagram below. Membership Business Code: String Annual Fee: Double allmutator Methods Class

help please  help please Write a program that can define Membership as in
the claw diagram below. Membership Business Code: String Annual Fee: Double allmutator

Write a program that can define Membership as in the claw diagram below. Membership Business Code: String Annual Fee: Double allmutator Methods Class membership contains a business code and annual fee. The program will set 4 objects of membership damond, gold, premium and silver. These object will be set with data as in Table 10 From the main program can a customer can register their name and choose the membership Category and the program will display the annual fee and message on the screen Compile and save as MI_Your Name.c copy paste the successfully compiled code in the space provided. (25 Marks Table 10 Code Annual fee Output Message 1 4,000 Diamond Club 2 3,500 Gold Club Sample Output: 1. Diamond 2) Gold 3) Premium Other) Silver Please enter your name and your choice: Ali 3 Premium Club The annual fee is 2000.00 Program ended with exit code: 0 1. Diamond 2) Gold 3) Premium Other) Silver Please enter your name and your choice: Maria 1 Diamond Club The annual fee is 4000.00 Program ended with exit code: 0 1. Diamond 2) Gold 3) Premium Other) Silver Please enter your name and your choice: Laila Silver Club The annual fee is 1000.00 Program ended with exit code: 0

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 Databases Questions!