Baseball ticket sales
design a windows application and write the code that will execute according to the program requirements, the chart and the use case definition.
Type of ticket
seat type
season ticket $2500
box seats $1500
single game tickets
box seats $55
lower deck $35
upper deck $25
standing room only $15
requirements document
date submitted: january 29, 2008
application title: baseball ticket sales application.
Purpose: this window application computes the cost of baseball tickets.
Program procedures: from a windows application, allow the user to select season or single-game baseball tickets and compute the cost of the tickets.
Algorithms, processing, and conditions:
the user is requested to select whether to purchase season or single-game tickets from a combo box object. The other objects are not visible until the user selects this option.
The user is requested to enter the number of tickets needed in a textbox object.
The user is requested to select the type of seats from a list box object.
One of two function procedures will be called for season or single-game tickets to compute and pass back the final cost of the tickets.
Notes and restrictions:
a clear form button should clear the form.
The data the user enters should be validated in try-catch blocks in separate procedures as needed.
Comments:
the picture should be selected from a picture available on the web.
The application should begin with a splash screen that holds for approximately 5 seconds.
Use case definition
user views opening splash screen for five seconds.
User selects whether to season tickets or single-game tickets.
User enters the number of tickets needed and the type of seats based on whether they selected season or single-game tickets.
User clicks the compute ticket cost button to display the final cost.
User clicks the clear form button to clear the responses.