Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please use visual basic 2019!! Write a program that will take orders for upcoming football game tickets and will let the user know the total
Please use visual basic 2019!!
Write a program that will take orders for upcoming football game tickets and will let the user know the total cost of their order. The fan is to be prompted (using textboxes) to enter their name (in lastName, (space)firstName format), number of sideline tickets, and number of end zone tickets. Both number of ticket textboxes should contain 0 initially. Your program should display (using a listbox) the name (in firstName(space)lastName format), invoice number, sideline ticket subtotal, endzone ticket subtotal, and total order cost. The subtotals and total should formatted to currency. Tickets prices are set as follows: Sideline tickets - $25 End Zone tickets - $15 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 clicked), an invoice number needs to be generated. The format of this number is: First two letters of the first name (Upper Case) First two letters of the last name (Upper Case) Hyphen (dash/minus). Current order number 0 (Note: Order number should be set as a class variable. The initial value should be 1000. After successfully processing an order, the order number should be incremented by 1.) Hyphen (dash/minus) - Total number of tickets Your program should have three button events. These should perform the following tasks: Calculate Cost (perform the calculations and display the output). Clear Form (clear the name, reset tickets to 0. clear the listbox. and set the focus to the first textbox). First two letters of the first name (Upper Case) First two letters of the last name (Upper Case) Hyphen (dash/minus) . - Current order number o (Note: Order number should be set as a class variable. The initial value should be 1000. After successfully processing an order, the order number should be incremented by 1.) Hyphen (dash/minus) "" - Total number of tickets Your program should have three button events. These should perform the following tasks: Calculate Cost (perform the calculations and display the output). Clear Form (clear the name, reset tickets to 0, clear the listbox, and set the focus to the first textbox). Exit (end the program). - Seating Cost Calculator o x Seating Cost Calculator Customer's Name (Last, First: , ) Customer's Name (Last. First): Wiliams. Tom Sideline Tickets 0 O Sideline Tickets 2 End Zone Tickets 0 End Zone Tickets: 2 Calculate Cost Clear Form Exct Calculate Cout Clear Form Ed 1st Output Customer Name: Tom W1111am Invoice Number: TWIFB1002 Sideline Tickets: End Zone Tickets: $40.00 $20.00 Total Cost: $71.40 Steps required for planning and completing Programming Project 1: 1. Analyze: Make sure you understand the problem and ask questions if you don't. Identify Inputs, Outputs, and Processes a. Steps required for planning and completing Programming Project 1: a. a. c. 1. Analyze: Make sure you understand the problem and ask questions if you don't. a. Identify Inputs, Outputs, and Processes b. The analysis can be typed in Word. Name the file PP1_Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started