A wholesale store wants to record the number of reward points a customer earns each month. The
Question:
A wholesale store wants to record the number of reward points a customer earns each month. The reward points are based on the customer’s membership type and the total purchase for the month. The program should have a separate function for each membership type. Display the reward points as integers.
Membership Type: Basic --> Monthly purchase: 0-100 --> Reward points: 10% of the total monthly
Membership Type: Basic --> Monthly purchase: 101 and over --> Reward points: 15% of the total monthly
Membership Type: Standard --> Monthly purchase: 0-100 --> Reward points: 15% of the total monthly
Membership Type: Standard --> Monthly purchase: 101 and over --> Reward points: 20% of the total monthly
Membership Type: Premium --> Monthly purchase: 0-100 --> Reward points: 20% of the total monthly
Membership Type: Premium --> Monthly purchase: 101 and over --> Reward points: 30% of the total monthly