C++ Coding - Loops Party shop sells birthday gift bags in two ways. Customers can purchase a set of 12 bags for $25.6 or an individual bag for $1.64. Write a complete program that asks the user input...



C++ Coding - Loops


Party shop sells birthday gift bags in two ways. Customers can
purchase a set of 12 bags for $25.6 or an individual bag for $1.64.
Write a complete program that asks the user input for the number of
gift bags need to be purchased (an integer) and outputs the total price
of the purchase.



  1. For example, if the customer buys 25 gift bags, the customer would
    be charged for 1 set of (12 bags) plus another 13 individual bags.
    The subtotal would be 1(25.6) + 13(1.64) = $46.92

  2. Use a constant variable to set a fixed tax rate of 8.875.

  3. Display correct dollar values (2 decimal places, use cout precision)



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here