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.
1
Expert's answer
2017-06-25T06:53:02-0400
Dear somefight, 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
Comments
Leave a comment