Ticketmaster

Assignment Help JAVA Programming
Reference no: EM13165299

Design a set of classes that work together to simulate a customer buying tickets for a music event The classes you will design are:

CUSTOMER - this class will have: the name of the customer and the amount of cash on hand

TICKETMASTER - this class will have: a service charge = $8.00 per ticket, tax = .085 current amount of all tickets sold. Its responsibilities are printing a list of events for sale, looking up an event for a customer, and selling a ticket to the event.

EVENT - this class has name of musical group, time of event, place of event number of tickets available price of single ticket Use the events file for data for all events

TICKET - this class will have: name of customer who purchased the ticket, the band name, the time and place of the concert, and the number tickets purchased along with total price of tickets (cost + tax + service charge)

When purchasing a ticket, a customer will need to have to have enough money and there will have to be enough available for that particular event.

Demonstrate your classes by creating:

1) A 1st customer with $100.00 cash who wants 1 ticket to Bob Dylan

2) A 2nd customer with 100.00 cash wants 2 tickets to R Kelly

3) A 3rd customer with $300 wants 2 tickets to Muse

4) A 4th customer with $50 wants 1 ticket to Bassnectar

Since I can't upload the events.dat file, I will copy and paste it below...

Muse
Oracle Arena
5
75.00
8:00
Foster the People
Greek Theater
50
35.00
8:00
Bassnectar
Bill Graham
20
50.00
8:00
Rihanna
HP Pavillion
20
45.00
7:30
Bob Dylan
Bill Graham
0
100.00
7:30
R Kelly
Paramount Theater
15
35.00
7:30
Jane's Addiction
Mondavi Center
40
30.00
8:30
Of Monsters and Men
Shoreline
25
40.00
8:00

Reference no: EM13165299

Questions Cloud

Discuss the major sources of crime statistics : Discuss the major sources of crime statistics in the United States. What are  the potential sources of error in these reports?
Internet file-sharing programs : Internet file-sharing programs such as Kazaa are popular among college students. These programs work by allowing non-organizational users to access any local network where desired files are located.
Monkey business, a local zoo : Monkey Business, a local zoo, wants to keep track of how many pounds of food each of its three monkeys eats each day during a typical week. Write a program that stores this information in a two-dimensional 3 7 array, where each row represents a di..
Create a book class for the library application project : Create a Book class for the Library application project. In addition to properties of author and isbn, with setters/getters, the Book should override Object's base method "boolean equals(Object)" and have a "boolean validate()" method.
Ticketmaster : TICKETMASTER - this class will have: a service charge = $8.00 per ticket, tax = .085 current amount of all tickets sold. Its responsibilities are printing a list of events for sale, looking up an event for a customer, and selling a ticket to the e..
Binary scientific notation : For IEEE 754 single precision floating point, what is the number, as written in binary scientific notation, whose hexadecimal representation is: 0061 0000
America and the great war : The assassination of Archduke Franz Ferdinand was the immediate cause of World War I. But the events that led to the Great War go further back into the nineteenth century. As with the Boxer Rebellion of 1900, nationalism, imperialism, and militarism ..
Write the hexadecimal representation for -1.0 : For IEEE 754 single precision floating point, write the hexadecimal representation for -1.0
Code should include a loop that displays income : This code should include a loop that displays income generated from ticket sales for each night. Shows are performed on Thursday, Friday and Saturday nights.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Create a project using the classes in the doc sharing area

create a project using the classes in the Doc Sharing area labeled A Simple LinkedList class. Compile it, run it, and review the code that is given carefully. This code tests the LinkedList class provided in the lecture.

  Write java program to read in sequence of hourly temperature

Write down Java program which reads in sequence of hourly temperature readings over 24-hour period using arrays. Your program must find and show maximum and minimum temperatures.

  Have an array of integers with user input instead of given

change the current code to have an array of integers with user input intead of given input from the main where it says int[] a=....; And also from a text file but the same numbers as what is given in main.

  An elementary calculation yields the result

An elementary calculation yields the result that theoretically, the probability of turning up 7 when two dice are thrown is 1/6, or .166666. But what if more dice are thrown? If 3 dice are thrown, what is the probability that some 2 of three sum to 7..

  Socket programming in java: tcp

In this project we will develop a Web server in two steps. In the end, you will have built a multi-threaded Web server that is capable of processing multiple simultaneous service requests in parallel.

  Java program to ask user to enter favorite color

Write a Java program to ask the user to enter favorite color, a favorite food, favorite animal, and first name of a friend or relative.

  Create a world class that contains a 2d array

You have to create a world class that contains a 2d array then create an abstract class called organism that contains move() method the organism should move randomly one step at the time.

  Determine the decision of java

Determine the decision of Java as the platform to develop this program. Identify the Java-based technologies utilized in this project and analyze each of them. Then, provide discussion on the purpose of each of the Java-based technologies utiliz..

  Java program use breadth-first search closest broadcast

Write the java program which will use breadth-first search (which you implement as part of your program) to determine the closest broadcast vertex for each vertex in graph.

  Describe principles of data abstraction and inheritance

Study the principles of data abstraction, inheritance and dynamic binding. Use Library to get started on finding resources.You must take the terms and describe it.

  Solving programming problems

Write a computer program that will figure out the total of an order when given the amount of the order ($1000) and a sales tax rate of eight percent.

  Eclipse or netbeans environments

As recommendation, you can try to use Eclipse or NetBeans environments that are used also for other courses as: Introduction in Java programming and Intermediate programming.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd