C+ program that asks the user to enter the coupon color and the haircut type Solved

20.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: zip solution files instantly, after Payment

Securely Powered by: Secure Checkout

Description

5/5 - (5 votes)

A salon offers coupons to its customers time to time. Without coupons adult haircut is 15.50 and the child haircut is 10.50. Coupons that this salon offers are color coded.

The following table shows the color code and discount information

Write 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 possble 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

  • Main.zip