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 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. Write the program so it will generate the output as shown in the sample runs below where user input is in bold. Without coupons adult haircut is 15.50 and the child haircut is 10.50
Write a program to takes in width, height and length of a box and calculate the volume of the box. Display the volume
1. Write a program to takes in width, height and length of a box and calculate the volume of the box. Display the volume. Volume of box = width x height x length 2. When Azmi began his trip from Johor Bahru to Alor Setar, he filled his car’s tank with gas and reset its trip to zero. After travelling for 234 miles, Azmi stopped at a gas station to refuel; the gas tank required 15 gallons. Create a program that Azmi can use to display his car’s mileage – number of miles his car can be driven per g
Homework Help Service | Tutor helping | Best Homework Help Website
What are the new programs and initiatives that commercial insurance companies and the government are creating in order to help curb the rising cost of health care? Discuss these initiatives.
What are the new programs and initiatives that commercial insurance companies and the government are creating in order to help curb the rising cost of health care? Discuss these initiatives. Private insurance companies as well as the Centers for Medicare & Medicaid Services (CMS) have great influenc
What Is the Power Of Big Media And How Has It Changed Given Technological Changes In The Last Twenty Years?
Define a function trophiclevelindex(chla , tn, tp) that takes values for Chorophyll-a (CHLA), Total Nitrogen (TN), and Total Phosphorus (TP) and returns the Trophic Index (TLI3) using the calculation below.
Define a function trophic_level_index(chla , tn, tp) that takes values for Chorophyll-a (CHLA), Total Nitrogen (TN), and Total Phosphorus (TP) and returns the Trophic Index (TLI3) using the calculation below. The TLI3 is calculated as the average of the three transformed values, where each value is transformed as follows: tlc = 2.22 + 2.54 ∗ log10CHLA tln = −3.61 + 3.01 ∗ log10TN tlp = 0.218 + 2 .92 ∗ log10TP For example, if CHLA = 10, TN = 100, and TP = 1000, then: tlc = 2.22 + 2.54 ∗ 1 =