Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Code in C++ Complete Lab #3 Lab # 1-variable declarations, calculations, and I/O Requirements: An auditorium holds events and charges $29.50 for tickets to the
Code in C++
Complete Lab #3
Lab # 1-variable declarations, calculations, and I/O Requirements: An auditorium holds events and charges $29.50 for tickets to the events. The cost to hold events is $1,450.00. Create a project in Code: Blocks and write a program that computes gross receipts based on the number of tickets sold, and computes the profit from the event based upon the total receipts and the cost to hold the event. The user will enter the number of tickets sold, and the program will compute the gross receipts for the event, and the profit. Lab # 2 Instructions-branching and conditional statements Requirements: The auditorium from Lab #1 has now opened the balcony seats for their events. After the 200 floor seats have been sold at $29.50 each, the 50 balcony seats are sold for $19.00 each (once all of the floor seats are sold). The cost to hold events is still $1,450.00. write a program (or modify Lab #1) to determine the number of floor tickets sold and the number of balcony tickets sold, the receipts for each, and the gross receipts based on the total number of tickets sold, and profit. The user will enter the total number of tickets sold, and the program will compute the number of tickets sold of each type, the receipts for each ticket type, the gross receipts for the event, and the profit. If no balcony tickets have been sold, the output should be zero for the balcony tickets sold and balcony ticket receipts. Lab # 3 Instructions-multiway branching and requirements decomposition Requirements: The auditorium in Lab #2 has divided the floor seats into a front and back section, and is now using two (2) different ticket prices for floor seats. Modify the auditorium program from Lab #2 to automatically determine the number of front-floor, back-floor, and balcony tickets sold from a single input of the total number of seats sold. Draw a flow chart of the order of operations and submit a hard copy (10% of grade)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started