Answer to Question #73995 in Java | JSP | JSF for Arh Wen
Write a program to calculate and display the cost of a number of cinema tickets according to the rules:
• RM8 per ticket for the stalls (at the front, rows 1 to 10)
• RM10 per ticket for the gallery (the best seats, rows 11 to 25)
• RM6 per ticket for the upper gallery (far from the screen, rows 26 to 30)
The customer enters two whole numbers, row (the row number) and tickets (the number of tickets required) and the program should calculate and display the cost of that number of tickets for the customer.
An additional requirement is that there should be a RM1 discount per ticket for customers purchasing 10 or more tickets. Save the file as Tickets.java
Dear Arh Wen, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order