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 9-41. The program should use a separate function for each membership type. If necessary, create a new project named Advanced22 Project, and save it in the Cpp8\Chap09 folder. Enter your C++ instructions into a source file named Advanced22.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 ($) Less than 75 75-149.99 Membership type Standard Reward points 5% of the total monthly purchase 7.5% of the total monthly purchase 10% of the total monthly purchase 150 and over Plus Less than 150 150 and over 6% of the total monthly purchase 13% of the

Total monthly purchase ($) Less than 75 75-149.99 Membership type Standard Reward points 5% of the total monthly purchase 7.5% of the total monthly purchase 10% of the total monthly purchase 150 and over Plus Less than 150 150 and over 6% of the total monthly purchase 13% of the total monthly purchase Less than 200 200 and over 4% of the total monthly purchase 15% of the total monthly purchase Premium Figure 9-41

Step by Step Solution

3.45 Rating (168 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

answer Program to display the reward points depending upon the type ... View full answer

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

Document Format (2 attachments)

PDF file Icon

2045_61d6ac343376d_838610.pdf

180 KBs PDF File

Word file Icon

2045_61d6ac343376d_838610.docx

120 KBs Word File

Students Have Also Explored These Related Microsoft Visual C# Introduction Questions!