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
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
Get step-by-step solutions from verified subject matter experts
