You have recently been hired to work for TicketMiner, a company that sells tickets for sporting...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 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
Expert Answer:
Answer rating: 100% (QA)
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... View the full answer
Related Book For
Modern Advanced Accounting in Canada
ISBN: 978-1259087554
8th edition
Authors: Hilton Murray, Herauf Darrell
Posted Date:
Students also viewed these programming questions
-
The mass of a disk of radius R and thickness t is not uniformly distributed; it has density, i.e., mass per unit volume, (r ) = 0/[1 + r 2/R2], where 0 is the density at the center and r is the...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
You have recently been hired to work in the accounts receivable department of Canadian Moonlighting Film Inc. (CMF). As part of your introduction and familiarization with the company, you are...
-
ABS plastic is a tough, hard plastic used in applications requiring shock resistance. The polymer consists of three monomer units: acrylonitrile (C3H3N), butadiene (C4H6, and styrene (C8H8). a. Draw...
-
Water flows upward in a pipe slanted at 30°, as in Fig. P2.35. The mercury manometer reads h = 12 cm. What is the pressure difference between points (1) and (2) in the pipe? 30 2 m
-
Listed below are several terms and phrases associated with inventory measurement. Pair each item from List A with the item from List B (by letter) that is most appropriately associated with it. List...
-
Storm sewer backup causes your basement to flood at the steady rate of 1 in. of depth per hour. The basement floor area is \(1500 \mathrm{ft}^{2}\). What capacity (gal/min) pump would you rent to (a)...
-
Coda Coffee and bext360 Supply Chain: Machine Vision, AI, IoT, and Blockchain Answer the Following Questions: a). What are the benefits and limitations of Fairtrade certification to business owners...
-
A roller coaster car (RC) of mass m = 1200 kg (includes passengers) is to be thrust into motion from a height H with a speed of vo = 2 m/s. It is to come down the track and complete a full circle...
-
Kate, Bob and Tim work in your team. Each has a separate work role but must liaise with each other to coordinate the workflow and to complete overall team tasks.There is a problem between Kate and...
-
A- Find the value of each factorial - 7! B- Find the value of each permutation: 7P2 (small 7,large P,small 2) C- Find the value of each combination: 9C2 (small 9,large C,small 2) D- In how many ways...
-
Covid has required organizations to think differently and quickly adapt to the market. Identify an industry. Within that industry, identify two companies that have used Corporate level strategies as...
-
You borrow $250 for 120 days at a simple interest rate of 3.3%. What is the interest on the loan? Be sure to use the Bankers' Rule when working with daily rates. What is the loan's future value?
-
Objective: https://codeshare.io/8pMyMZ 1. How would the process reflected in KnightPStp2 be done in TicTacToePStp2 based upon objective? KnightPStp2: https://codeshare.io/VZ09mR TicTacToePStp2:...
-
In Java , I need help with a MapReduce program called RatingDistribution that will print the 5 different rating distributions for movies. The program should work on MovieLens data set, which can be...
-
Answer 4 of the following questions. Please remember to cite sources. 1. Suggest how the use of a patient ID bracelet containing a bar code representation of the patient's ID and a bar code scanner...
-
You want to have a perpetuity that will pay $10,000 per year forever. You found an investment offering a guaranteed 1.75% per year forever. How much will you need to invest today in order to receive...
-
Suppose the index goes to 18 percent in year 5. What is the effective cost of the unrestricted ARM?
-
Briefly explain why the Canadian AcSB decided to create a separate section of the CPA Canada Handbook for private enterprises.
-
Refer to Problem 11-1. All of the facts and data given in the problem are the same except that PMI only purchased 40% of the outstanding ordinary shares of Sandora for US$6,400,000. Additional...
-
Financial statements of Par Corp. and its subsidiary Star Inc. on December 31, Year 12, are shown below: Note 1: Dividends on preferred shares are two years in arrears. On this date, Par acquired...
-
Due to the Covid recession of 2020, the U.S. government budget changed from smaller deficits to very large deficits. What impact would this have on the net exports and private sector balances, all...
-
Verify the log-likelihood in equation (16.4) for the Tobit model. In L = = In { 1-0 (x-di)} 1:y=di 122. + (y; - x) 02 (16.4) i:y;>di
-
Verify the likelihood in equation (16.5) for the two-part model. n2. (16.5) -(-)-(-2)/02 L = [] {(p;)" (1 p; )'-'} [[ ( i=1 ri=1
Study smarter with the SolutionInn App