Question: A local department store wants a program that displays the number of reward points a customer earns each month. The reward points are based on
A local department store wants a program that displays the number of reward points a customer earns each month. The reward points are based on the customer’s membership type and total monthly purchase amount, as shown in Figure 10-28. The program should use a separate void function for each membership type. If necessary, create a new project named Advanced21 Project, and save it in the Cpp8\Chap10 folder. Enter your C++ instructions into a source file named Advanced21.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Display the reward points in fixed-point notation with no decimal places. Test the program appropriately

Total monthly purchase (S) Less than 75 75-149.99 Reward points 5% of the total monthly purchase 7.5% of the total monthly purchase 10% of the total monthly purchase Membership type Standard 150 and over Plus Less than 150 6% of the total monthly purchase 13% of the total monthly purchase 150 and over Premium Less than 200 200 and over 4% of the total monthly purchase 15% of the total monthly purchase Figure 10-28
Step by Step Solution
3.55 Rating (169 Votes )
There are 3 Steps involved in it
include include for setprecision using namespace std void function ... View full answer
Get step-by-step solutions from verified subject matter experts
