Problem

Write a program that computes the total ticket sales of a concert. There are three types...

Write a program that computes the total ticket sales of a concert. There are three types of seatings: A, B, and C. The program accepts the number of tickets sold and the price of a ticket for each of the three types of seats. The total sales are computed as follows:

totalSales = numberOfA_Seats * pricePerA_Seat +

numberOfB_Seats * pricePerB_Seat +

numberOfC_Seats * pricePerC_Seat;

Write this program, using only one class, the main class of the program.

Step-by-Step Solution

Request Professional Solution

Request Solution!

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

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 4