Question: 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.*;
java java.util.scanner ; java.io.*; Exercise#2: Write a Java program for a Play-House

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

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!