You have recently been hired to work for TicketMiner, a company that sells tickets for sporting events, concerts, special events, etc. You have a
You have recently been hired to work for TicketMiner, a company that sells tickets for sporting events, concerts, special events, etc. You have a few customers that are interested in creating their events using your system. i. Buy tickets to only one event per transaction 1. Tell user the price for each ticket level ii. Buy only one ticket type per transaction iii. Verify that there are still tickets available iv. Provide the customer with a "invoice" in which it has the quantity of tickets, total price for the purchase, and a confirmation number 1. One "invoice" per transaction (regardless of the quantity) v. User will have an "invoice" vi. Event will have a list of tickets purchased for the event vii. Include reasonable prompts to make the transaction understandable d. Customer should only be able to purchase tickets if they have enough money e. Update the customers available money after their ticket purchase 4. Log each action that is taken a. Write to a log file (this file can be written at the termination of the program) 5. Terminate the program by typing "EXIT" while in the main menu only 6. Handle all exceptions appropriately i. Buy tickets to only one event per transaction 1. Tell user the price for each ticket level ii. Buy only one ticket type per transaction iii. Verify that there are still tickets available iv. Provide the customer with a "invoice" in which it has the quantity of tickets, total price for the purchase, and a confirmation number 1. One "invoice" per transaction (regardless of the quantity) v. User will have an "invoice" vi. Event will have a list of tickets purchased for the event vii. Include reasonable prompts to make the transaction understandable d. Customer should only be able to purchase tickets if they have enough money e. Update the customers available money after their ticket purchase 4. Log each action that is taken a. Write to a log file (this file can be written at the termination of the program) 5. Terminate the program by typing "EXIT" while in the main menu only 6. Handle all exceptions appropriately
Step by Step Solution
3.42 Rating (158 Votes )
There are 3 Steps involved in it
Step: 1
Solution Sure I can help you create a program that handles the requirements for your TicketMiner system Below is a simple Python code example that fulfills the requirements youve mentioned This code a...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