Answered step by step
Verified Expert Solution
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
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 java.util.scanner ;
java.io.*;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started