Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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. 1. Create a class called "Sport" which is representative of a sport that can be held in a single location 2. Create methods that will change the name, date, time, VIP price, gold price, silver price, bronze price, and general admission price of a sporting event 3. Create methods that will show the name, date, time, VIP price, gold price, silver price, bronze price, and general admission price of a sporting event 4. Create a method called "printInfo" that will print all the information of the Sporting event a. Event ID b. Name c. Date d. Time e. VIP Price f. Gold Price g. Bronze Price h. General Admission Price 5. Read a CSV file with event information a. Do not use a library for this part; instead, you should write the code from scratch. You may use Scanner, Buffered Reader, or File Reader 6. Using the data from the CSV file of Sporting events, create "Sport" objects and store them inside an appropriate data structure 7. Create a terminal based interface that will do the following: a. Receive input from the user to search for a specific event by Event ID b. Create a small menu that will call the functions that were created as part of the "Sport" class i. Please make this intuitive and user friendly 8. Log each action that is taken and write it to a text file a. For example: i. "Event ID XX updated name to UTEP Football 1" ii. "Event ID XX updated the time to 6:30 PM" b. This file can be produced upon successful termination of the program
Step by Step Solution
★★★★★
3.32 Rating (149 Votes )
There are 3 Steps involved in it
Step: 1
Heres a Java program that implements the requirements for a ticketselling system for sporting events using the Sport class CSV file handling and a terminalbased interface import javaio import javautil...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