Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

java java.util.scanner ; java.io.*; Exercise#2: Write a Java program for a Play-House Manager, who would like to calculate the total profit from selling tickets of

java
java.util.scanner ;
java.io.*;
image text in transcribed
Exercise#2: Write a Java program for a Play-House Manager, who would like to calculate the total profit from selling tickets of the Drama. There are 3 types of tickets: Balcony (120 AED), VIP (70 AED) and Basic (40 AED). The manager has bills and salaries to pay. Therefore, the profit is equal to (incomes -expenses). The output should be like this: No. of Balcony tickets: 198 No. of VIP tickets: 2507 No. of Basic tickets: 4282 Bills: 135000 salaries: 75000 Profit = 370530 - 210000 = 160530 AED

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: 3

blur-text-image

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

Microsoft Visual Basic 2008 Comprehensive Concepts And Techniques

Authors: Gary B. Shelly, Corinne Hoisington

1st Edition

1423927168, 978-1423927167

Students also viewed these Databases questions

Question

=+5 Evaluate whether the CCT program was effective.

Answered: 1 week ago

Question

=+Identify the type of global assignment for which CCT is needed.

Answered: 1 week ago