Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a programm using Visual Basic studio Write a program that will take orders for upcoming football game tickets and will let the user know

Write a programm using Visual Basic studio image text in transcribed
image text in transcribed
image text in transcribed
Write a program that will take orders for upcoming football game tickets and will let the user know the total cost of their order b. C. d. The fan is to be prompted (using textboxes) to enter their name (in last name, first name format), number of sideline tickets, and number of end zone tickets. Your program should display (using a listhbox) the name (in first name (space) last name format), invoice number, sideline ticket subtotal, endzone ticket subtotal, and total order cost Tickets prices are set as follows: In addition to the above ticket cost, the fan has to pay a $1.00 service charge per ticket. For each order (each time Calculate Cost is clickedan invoice number needs to be generated. The format of 4. Code: Sideline tickets-$20 End Zone tickets -$10 b, C. d. . this number is: First letter of the first name (Upper Case) First two letters of the last name (Upper Case Current order sumber o Note: Order number should be set as a class variable. The initial value should be 1000. When processing each order, the order number should be incremented by 1.) Your program should have three button events. These should perform the following tasks 5. Test and .Calculate Cost (perform the calculations and display the output) Clear the form (reset textboxes to 0, clears the listhox, and sets the focus to the first textbox) Exit (ends the program). 6. Complet You d. You need to su Your W a. Generate the pseudocode for the program. b. You should type the pseudocode in a Word document (use the same file as analysis) 3. Design the interface: a. Name the project PP1_yourL astName b. Create the controls on the form c. Set the properties for a nice interface (see given sample form -problem statement page) d. Give each control as well as the form meaningful names using proper prefixes. e. Tab order should be set from top to down for fields that need to have focus. f. Name textbox should have appropriate mask g. Textboxes for Sideline and End Zone tickets should have an initial value of zero (0) h. Make sure the form 'looks good'; all controls are lined up . The text properties should have appropriate values when needed. 4. Code a. Following your pseudocode, translate into VB code. b. Use camel casing and meaningful names for all variables. c. Select appropriate data types as needed. d. Before you submit your program, you must remove any empty stubs and unused variables e. Make the spacing consistent. Blank lines can be used within the code to make it more readable, but don't leave gaps in the program where you inserted too many blank lines accidentally f The program should include a general comment section just after the Public Class statement. Include: i Programmed by: Your full name ii. CIS 115 and your section number and class time ii. Programming Project 1 Comments (again) - Each event procedure should begin with a comment just after the header that states the purpose of that event. h. Other comments may be included if you feel they are needed 5. Test and Debug: a. Find and correct syntax, execution, and logic errors b. Test your program with a variety of input to be sure it works properly 6. Complete the documentation: Your Word doc file from above that contains: A cover page - consisting of your name, JasID, class and section, current (submitted on) date and assignment title. Problem analysis Psuedocods A copy of the code listing Screen shots of your programs executing a. b. c. d. e. Seating Cost Calculator Seating Cost Calculator Customer's Name (Last, First) Customer's Name (Last. Fint) Willams. Tom Sideline Tickets Sideline Tickets End Zone Tickets:0 End Zone Tickets:2 Calculate Cost Clear Fom Ext Calculate Cost Clear Form Exit Customer Name : Tom W1111ams Invoice Numbe: TNIFB1002 latoutput 40.00 $20.00 Sideline Tickets: End Zone Tickets: Total Coat: 71.40 O

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Apply civic engagement to the concept of the individual self.

Answered: 1 week ago

Question

Define the term Working Capital Gap.

Answered: 1 week ago