Question
IN C++, Description of the Program: A wholesale store wants to record the number of reward points a customer earns each month. The reward points
IN C++, 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.
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
USING
(A) VOID FUNCTION PROTOTYPE
(B) C = pow (a, b) for inputs
Thank you for your time.
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