javascript

Create a project to calculate final price based on promotion code and shipping method.
Ask user to enter the product price, promotion code, and shipping method. If promotion code is “XVMC22”
discount rate is 5%, if promotion code is “AZWT33”, the discount rate is 10%; if promotion code is
“RQUY44”, the discount rate is 20%. In addition, if purchasing price is above $100, free shipping.
if purchasing price is below $100, standard shipping takes 3-5 business days, and costs 5.99. two day shipping costs 8.99, and one day
shipping costs 12.99, display the final price after applying the discount rate, shipping cost and 9.25% sales tax.

 

"Is this question part of your assignment? We Can Help!"

Essay Writing Service