Question: c++ program The ABC Clothing Store charges customers ordering from their catalogue according to the following. Write a function called getCustomerInfo that reads from the
c++ program
The ABC Clothing Store charges customers ordering from their catalogue according to the following.

Write a function called getCustomerInfo that reads from the keyboard the account number, the date of sale (month, day, and year as 3 integers), the county code (S for San Diego County, O for Orange County and L for LA county). Write a function called getItemsInfo that reads the prices and the weights (integer) of the items the customer is ordering. You dont know how many items the customer is buying. In this function, you need to sum up the prices (total sale amount) and the weights (total weight). The total sale amount and total weight will be used to calculate a discount, the sales tax, and the shipping cost.


Month ordered Discount on total sale amount (before tax) Jan-May 5% Jun-Aug 10% 15% Sep Dec Sales Tax: (calculate after discount is taken. Assume all customers reside in one of the following counties.) San Diego County 7.75% Orange County 7.75% 8.25% LA County Shipping: (calculate based on total weight) 25 pounds and under S5 (flat rate) 26-50 pounds above rate for first 25 pounds and 10 cents/pound for pounds over 25 over 50 pounds above rate for first 50 pounds and 7 cents/pound for pounds over 50
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
