Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

A salon offers coupons to its customers time to time. Without coupons adult haircut is 15.50 andthe child

A salon offers coupons to its customers time to time. Without coupons adult haircut is 15.50 andthe child

haircut is 10.50. Coupons that this salon offers are color coded. The following table

shows the color code and discount information

Color code Discount

Green

(code#1) 3.50 from adult, 2.50 from kids

Blue

(code #2) 2.59 from adult, 1.50 from kids

i need help writing a C++ program that asks the user to enter the coupon color and the haircut type (adult, kid)

and then determine the haircut charge. It is possible that a customers may not have a coupon, in

that case, no discount will be offered.

You can assume that green, blue colors are represented using 1 and 2 respectively. Develop a C++ program that implements your algorithm

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"