Ticket examples in java code

C

curranjames90

Looking for somewhere to start in this problem I got! dont know where
to start. The problem is

"TicketTouts" sells tickets for all sorts of events, including
concerts, theatres and sporting events. They want to install a computer
system which will allow people to buy tickets online. Before they do
this, they want to build a prototype Java program, which will allow
them to see how the system might work.
In the prototype, a user should be able to interact with the system,
inspecting a list of all events, and requesting further details for any
selected event. The events may be hard-coded into the program. The user
should be able to select tickets to buy, adding them to a portfolio.
The user should also be able to delete tickets from their portfolio.
Finally, the user should be able to confirm the purchase of all tickets
currently in their portfolio (and see a list of purchases displayed on
screen), or should be able to quit without buying.
Each concert ticket has an artiste/band name, a location, a date and a
price. Each theatre ticket has a name of the play, a theatre name, the
name of the leading actor, a date, a time and a price. Each sporting
event has a name, the type of sport, the stadium, a date and a price.

A Sample Scenario
The program starts and displays a welcome message to the user. The
users asks to see the list of all tickets. The user asks to see a
details of ticket number 4 (U2, Phoenix Park, 23/06/05, Euro50). The
user decides to take one. The user asks to see the list again, then
asks for details of number 3, but then decides not to buy. The users
asks to see the list again, asks for number 6 (Cork City vs Shelbourne,
soccer, Turner's Cross, 24/06/05, Euro 17), and decides to take one.
The user then asks to see their portfolio, and decides to delete the U2
ticket. The users then decides to confirm the purchase of the remaining
tickets in the portfolio, the system displays them, and quits.
cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top