Instructions: Submit your code as a cpp file, or submit as text. NO URLs will be accepted as final submissions. Welcome
Posted: Fri May 20, 2022 4:53 pm
Instructions:
Submit your code as a cpp file, or submit as text. NO URLs will be
accepted as final submissions.
Welcome to the Monster Jam Tour 2022!
This event will be held at the Salinas Sport Complex. You will
be creating a program that calculates the total cost of tickets
purchased for the Monster Jam event based on how many tickets the
user purchases and the section they select.
Ticket Prices are as follows:
Section A - $100 per ticket
Section B - $50 per ticket
Section C - $35 per ticket
Use the following function:
Using the function prototype and information above create a program
that asks the user how many Section A tickets they will be
purchasing, how many section B tickets, and how many Section C
tickets. The program will calculate the total price and output
it.
How many Section B tickets will you be purchasing? 2
How many Section C tickets will you be purchasing? 4
Your total cost is: $540
Submit your code as a cpp file, or submit as text. NO URLs will be
accepted as final submissions.
Welcome to the Monster Jam Tour 2022!
This event will be held at the Salinas Sport Complex. You will
be creating a program that calculates the total cost of tickets
purchased for the Monster Jam event based on how many tickets the
user purchases and the section they select.
Ticket Prices are as follows:
Section A - $100 per ticket
Section B - $50 per ticket
Section C - $35 per ticket
Use the following function:
Using the function prototype and information above create a program
that asks the user how many Section A tickets they will be
purchasing, how many section B tickets, and how many Section C
tickets. The program will calculate the total price and output
it.
How many Section B tickets will you be purchasing? 2
How many Section C tickets will you be purchasing? 4
Your total cost is: $540