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

  Modeling the caves

Assignment 2 Description:  You are a mighty warrior, and armed with your trusty bow and 3 arrows, you enter The Caves in search of the mighty Wumpus. If you shoot the Wumpus, you are victorious and the masses will praise you, but if you stumble upon ..

  Afterwards a way for the user to input

And so on and so forth then afterwards a way for the user to input that they finished a particular task on the list. After the user has input that they have finished a particular task the program should be print "Good Job!" or "Keep it up!"

  Develop class which implements interface

Let the ADT called SquareMatrix. (The matrix can be represented by 2-D array of ints w/ n rows and n columns.) Write specification for ADT as Java interface. Develop the class which implements interface.

  Make a fourth button called special

Make a fourth button called "special" that does something else notdescribed in the assignment, such as change the background color.

  Write a recursive method to reverse a string.

write a recursive method to reverse a string. Explain why you would not normally use recursion to solve this problem?

  Write java program to evaluate postfix expressions

Write a java program to evaluate postfix expressions containing complex numbers using a stack. This program should contain two classes.

  Write java program to reverse contents of original array

Write down the Java program method named reversal which returns the new array which is a reversal of original array. Use [5.0, 4.4, 1.9, 2.9, 3.4, 3.5] to test method.

  Study the code and implement the operator overloading

The Table Q3 on the next page is the code of a class named Circle. Study the code and implement the operator overloading for these relational operators ( , >=) for the Circle class. Then, write a test program that creates two instances of the Circle ..

  Displays every perfect number from 1 through 1000

Write an application that displays every perfect number from 1 through 1000. A perfect number is one that equals the sum of all the numbers that divide evenly into it.

  Write a java program to compute salary

Write a Java program which computes the Salary for a given number of employees. The program prompts user to enter n the number of employees.

  Write a version of sumpairs

Write a version of sumPairs  that sums each component of the pairs separately, returning a pair consisting of the sum of the first components and the sum of the second components. So basically [(3,1)(10,3)] would return (13,4).

  Java program which demonstrates cellular automata

Using the internet, locate a Java program (or Java applet) which demonstrates "Cellular Automata", in particular "the Game of Life".

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