Ticket examples in java code

Discussion in 'Java' started by curranjames90@hotmail.com, Jan 20, 2005.

  1. Guest

    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
     
    , Jan 20, 2005
    #1
    1. Advertising

  2. Andrew Thompson, Jan 20, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. c guan
    Replies:
    0
    Views:
    544
    c guan
    Aug 4, 2004
  2. pete
    Replies:
    0
    Views:
    593
  3. Ronan
    Replies:
    5
    Views:
    34,498
    Ronan
    Apr 7, 2006
  4. Diomidis Spinellis

    Code quality and examples from open source C code

    Diomidis Spinellis, Apr 11, 2006, in forum: C Programming
    Replies:
    10
    Views:
    653
    Richard Heathfield
    Apr 13, 2006
  5. Diomidis Spinellis

    Code Quality and examples from the Perl source code

    Diomidis Spinellis, Apr 11, 2006, in forum: Perl Misc
    Replies:
    0
    Views:
    167
    Diomidis Spinellis
    Apr 11, 2006
Loading...

Share This Page