79233702

Date: 2024-11-28 11:36:58
Score: 1
Natty:
Report link

Sample Output --- Movie Ticket Booking System ---

  1. Display Movies
  2. Book a Ticket
  3. Cancel a Ticket
  4. Generate Report
  5. Exit Enter your choice: 2 Available Movies:
  6. Inception
  7. Dangal Select a movie (1 or 2): 1 Enter seat number: 5 Enter seat type (Regular/Premium): Premium Ticket Booked: Ticket ID: 1, Movie: Inception, Seat: 5, Seat Type: Premium, Price: $300 --- Movie Ticket Booking System ---
  8. Display Movies
  9. Book a Ticket
  10. Cancel a Ticket
  11. Generate Report
  12. Exit Enter your choice: 3 Enter ticket ID to cancel: 1 Enter the movie for this ticket (1 for Inception, 2 for Dangal): 1 Enter the ticket price ($200 for Regular, $300 for Premium): 300 Ticket with ID 1 cancelled. Refund: $300 --- Movie Ticket Booking System ---
  13. Display Movies
  14. Book a Ticket
  15. Cancel a Ticket
  16. Generate Report
  17. Exit Enter your choice: 4 Booking Summary: Tickets Sold: 0 Total Revenue: $0.0
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pasindu Denuwan