Question: An online retailer wants a program that displays the total amount a customer owes, including shipping. The user will enter the total amount due before
An online retailer wants a program that displays the total amount a customer owes, including shipping. The user will enter the total amount due before shipping. The amount to charge for shipping is based on the customer’s membership status, which can be either Standard or Premium. The appropriate shipping charges are shown in Figure 10-29. The program should use two void functions: one to determine the shipping charge for a Standard member and the other to determine the shipping charge for a Premium member. If necessary, create a new project named Advanced22 Project, and save it in the Cpp8\Chap10 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 total due in fixed-point notation with two decimal places. Test the program appropriately

Total due before Membership type Standard shipping (S) 0-100 Shipping (S) 12.99 4.99 Over 100 Premium 0-49.99 Over 49.99 4.99 Figure 10-29
Step by Step Solution
3.41 Rating (160 Votes )
There are 3 Steps involved in it
answer Advanced23cpp include include using namespace std method prototype that acc... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
2045_61d6ac34339cd_838636.pdf
180 KBs PDF File
2045_61d6ac34339cd_838636.docx
120 KBs Word File
