Question: Write the pseudocode ,Draw a flowchart and develop a java program for a Theater that computes the total sales receipts and profit for an event

Write the pseudocode ,Draw a flowchart and develop a java program for a Theater that computes the total sales receipts and profit for an event based on the number of tickets sold and the following criteria: The 200 main floor tickets are sold first, and then the 75 balcony tickets are sold once the main floor is sold out. Main floor tickets are $29.50 each, and Balcony tickets are $19.50 each. Use constants for these amounts The program will request the total number of tickets sold (assume <= 275 as input) and M for Matinee or E for evening. The cost to hold an event is $1,200.00 for Matinee and $1,450.00 for evening. The output will include the number of tickets sold and sales for each section, the total sales receipts, the event cost, and the profit for the event. Profit is total sales minus cost. See sample output below. Sample output A: Enter the tickets sold 199 nter M for Matinee, E for Evening E Main Floor ticket sale: $5870.50 Balcony ticket sales: $0.00 Total sales : $5870.50 Event cost: $1450.00 Profit from the event : $4420.50 Sample output B: Enter the tickets sold 201 Enter M for Matinee, E for Evening M Main Floor ticket sale: $5900.00 Balcony ticket sales: $19.50 Total sales : $5919.50 Event cost: $1200.00 Profit from the event : $4719.50

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!