Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions