Question

C++ : Write a program to manage the seating for an event. Let us say we...

C++ : Write a program to manage the seating for an event. Let us say we have 100 regular seats and 50 premium seats. Regular seats are $10 each and premium seats are $15 each. As customers walk in, ask them how many tickets, and if they want either regular or premium seating. Display the total cost based on the responses. Keep track of the tickets sold and ensure that you don't sell any tickets beyond the capacity. Enter 0 for # of seats to end the program and get the summary output.

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
C++ : Write a program to manage the seating for an event. Let us say we...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • Using C not C++, Write a program that can be used by a small theater to...

    Using C not C++, Write a program that can be used by a small theater to sell tickets for performances. The theater’s auditorium has 15 rows of seats, with 30 seats in each row. The program should display a screen that shows which seats are available and which are taken. For example, the following screen shows a chart depicting each seat in the theater. Seats that are taken are represented by an * symbol, and seats that are available are...

  • Can you help us!! Thank you! C++ Write a program that can be used by a...

    Can you help us!! Thank you! C++ Write a program that can be used by a small theater to sell tickets for performances. The program should display a screen that shows which seats are available and which are taken. Here is a list of tasks this program must perform • The theater's auditorium has 15 rows, with 30 seats in each row. A two dimensional array can be used to represent the seats. The seats array can be initialized with...

  • Write a program in C to assign seats of a movie theater (capacity: 200 seats). Your...

    Write a program in C to assign seats of a movie theater (capacity: 200 seats). Your program should display the following menu of alternatives: Please type 1 for "section A, $50/ticket" type 2 for "section B, $70/ticket", and type 3 for "section C, $80/ticket".  If the user types 1, then your program should assign a seat in the A section (seats 1–50). If the user types 2, then your program should assign a seat in the B section (seats 51–100). If...

  • Please write a C# program for an concert sale with the requirements below in Console Form:...

    Please write a C# program for an concert sale with the requirements below in Console Form: 1.) Tickets can be sold indivivdual, but tickets can also be sold in blocks --Multiple tickets sold at once, but if not enough tickets only the available tickets will be sold 2.) When tickets are sold, total amount of the sale will return to calling method 3.) Wrtie a method named ReturnTickets, that return the amount that the customer will be refunded 4.)Create a...

  • I have to write a C program to assign seats on each flight of the airline’s...

    I have to write a C program to assign seats on each flight of the airline’s only plane (capacity: 40 seats, in 10 rows). For the sake of simplicity, assume that each row has 4 seats labeled A, B, C, D. Your program should display the following menu of alternatives: Please type 1 for "first class" Please type 2 for "business class" Please type 3 for “economy class”. If the person types 1, then your program should assign a seat...

  • Write a C++ program main.cpp that implements a simple number guessing game with multiple questions /...

    Write a C++ program main.cpp that implements a simple number guessing game with multiple questions / answers. For each game, the program generates a random number between 1 and 10. User enters an answer with a numeric input. If the user input number matches the generated number, then print a message to inform users that he/she has a correct guess. If the guess is not correct, allow the user to have two more chances to guess the correct number. At...

  • Your job is to write a program that will help us keep track of the donations to these candidates....

    Help with C++ Code (using visual studio) preferred Typed Result: Your job is to write a program that will help us keep track of the donations to these candidates. You will assume that the program is written for this election where Anders and Valerie are running. It is OK to hard code these into your program. Don't worry about case sensitivity of names Here are the features of the program Feature #1: Contribute to a Campaign [60 points] When someone...

  • Program Description You are going to write a C++ program to manage toy salesmen. A salesman's...

    Program Description You are going to write a C++ program to manage toy salesmen. A salesman's data is updated periodically with sales and the time over which the money was collected. When requested, it returns sales per hour. A salesman can be updated many times before his/her sales per hour are requested, so the data needs to be accumulated. When the sales per hour are requested, the sales per hour are calculated and the salesman's accumulated data are set back...

  • Overview JAVA LANGUAGE PROBLEM: The owner of a restaurant wants a program to manage online orders...

    Overview JAVA LANGUAGE PROBLEM: The owner of a restaurant wants a program to manage online orders that come in. This program will require multiple classes. Summary class, customer class, order class and the driver class. Summary class This class will keep track of the cost of the order and output a summary, which includes the total for the order. The methods in this class are static. There are no instance variables, and instead uses an Order object that is passed...

  • Assignment 1. You are to write a simple program using Netbeans Java IDE  that consists of two...

    Assignment 1. You are to write a simple program using Netbeans Java IDE  that consists of two classes. The program will allow the user to place an order for a Tesla Model X car. 2. Present the user with a menu selection for each option on the site. We will use JOptionPane to generate different options for the user. See the examples posted for how to use JOPtionPane. 3. Each menu will have multiple items each item will be in the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT