Question
Description of the Program: A wholesale store wants to record the number of reward points a customer earns each month. The reward points are based
Description of the Program:
A wholesale store wants to record the number of reward points a customer earns each month. The reward points are based on the customers 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.
The following table shows the membership types, total monthly purchase and the reward points.
Membership Type Monthly purchase Reward points
Basic 0-100 10% of the total monthly purchase
101 and over 15% of the total monthly purchase
Standard 0-100 15% of the total monthly purchase
101 and over 20% of the total monthly purchase
Premium 0-100 20% of the total monthly purchase
101 and over 30% of the total monthly purchase
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started