Question: Using C++ ONLY, create a program using vectors that ask the user to enter how many tickets they want to buy from three different sections.
Using C++ ONLY, create a program using vectors that ask the user to enter how many tickets they want to buy from three different sections. Calculate the total ticket sale. The box office gets 12% of the sale. The stadium gets 21% and the rest goes to the home team. You are showing a menu with the price for section A $15.00, Section B $12.00 and Section C $9.00 Format your results to 2 decimal points. It should be impossible to enter negative numbers.
should look like this:

nter you favorite Team Name: Los Angeles Dodgers How many Seats in section A: 12 How many Seats in section B: 9 w many Seats in section B: 15 Los Angeles Dodgers Receipt SEC SEC C: EC A 12 Seats B: 9 Seats $188.00 $188.00 $135.88 c C 15 Seats Total ticket sale is: 423.80 $50.76 $88.83 $283.41
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
