i need help in this Vb probict
CIS 115- Programming Project 2 Chapter 4 The School of Computing will be sponsoring a road race this year and has asked you to create a program that will calculate the entry fees for each participant. The race will offer three different courses; a Half marathon, a 10 Kilometer run, and a 5 Kilometer run Entry Fees: Entry fees are based on the age of the runner and the event they participate in. The fee schedule is as follows Age Breakdowns Children (ages 17 and under) $50 Adults (ages 18 to 65) Master (66 and over Half Marathon 10K $20 5K $10 $20 $15 60 $25 T-Shirt Fees T-shirts are free with entry fee unless the participant orders an X-Large. Participants who order X-Large t-shirts will be charged a $2.00 additional fee Options: Two optional events will be offered - PreRace Dinner The cost of dinner is $15 - PostRace Lunch The cost of lunch is $10 Each registration processed should be assigned a registration number that is composed of the first initial of the first name (upper case), the first initial of the last name (upper case), an indicator as to which race (HM, 10K, 5K) and a registration number. The registration number should begin with 500 and increase by 1 for each registration processed Output should be formatted as shown below: Sample output no optional expenses. Sample output including all optional expenses. ScC Heliday Run SoC Holiday Run Name (Last, Frtc Wlas, Cameron Name (Last Furst) Jchns, Tom Event Shirt Sze Small Medum Event Optione Shin Siza Smal Medium Lage Optiona: Ha Merathan PreRace Dinner (S15) O 10K PastRace Lunch($10 10K FoetRace urch (S10) o XLarge Process Order Cear Form Procea Order Clear Fom Ext Paticipant's Name ile Paticipants Ape: 32 Fegietraion Number CWHM500 Porticiport's Name: Jchrs. Tom Participart's ge: 48 Reg sration Number: TJ5500 Entry Fee Due $20.00 dctonal t aht cost: 5200 Adectiond opliondl ees: $25.00 Total Due $5.00 Optional fecs included PeRace dne Post Racelunch Total Due: $47.00 Programming Details (three event procedures) Process Order Click - o Validate Inputs Give appropriate error message and end the procedure if incorrect - Name textbox should not be blank - Age textbox should contain a positive, numeric value One radio button was selected from both groups o Produce registration number o Determine correct entry fee o Determine if additional fee should be charged for t-shirt o Calculate total optional item cost o Calculate total amount due o Display output (formatted as shown in sample output -prev page) - Name " Registration Number " Entry Fee T-Shirt Cost (show only when applied size XL radio button checked) Optional fees (show only when applied lunch and/or dinner checkboxes checked) Total Due - Clear Button Click o Clear all textboxes o Clear all radio buttons o Clear all checkboxes o Sets the focus on the name textbox Exit Button Click o Closes the program Steps required for planning and completing Programming Project 2: . Analyze: a. Identify Inputs, Outputs, and Processes c. The analysis does not have to be submitted for grading. 2. Design: Create a Data Design (variable usage) Table for your program. a. b. The Data Design Table should be typed in Word. Name the file PP2_
.docx c. Generate the pseudocode for the program. e. The pseudocode does not have to be submitted for grading. 3. Design the interface: a. Name the project PP2_ 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 used in your code meaningful names using proper prefixes e. Make sure the fom 'looks good'; all controls are lined up and properly sized f. The text properties should have appropriate values when needed. 4. Code a. b. c. d. e. Following your pseudocode, translate into VB code Use camel casing and meaningful names for all variables. Select appropriate data types as needed Before you submit your program, you must remove any empty stubs and unused variables. 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 The program should include a general comment section just after the Public Class statement. Include: f. i. Programmed by: Your full name ii. CIS 115 and your section number and class time ii. Programming Project 2 g. 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 works properly 6. Complete the documentation: Your Word doc file that contains: a. Name the file PP2_.docx b. A cover page consisting of your name, JagID, class and section, current (submitted on) date and assignment title e. A copy of the code listing n shots of your programs executing You need to submit the following files as attachments to the Program 2 Assignment in SAKAI: Your Word doc file from above that contains: A cover page -your name, JagID, class and section, current (submitted on) date and assignment title A copy of the code listing Screen shots of your programs executing Your compressed(zipped) VB Project folder containing your VB program: To compress the folder right-click the project folder, then select send to compressed folder. Thiswl create a compressed copy of the project folder that you can attach to the assignment. CIS 115- Programming Project 2 Chapter 4 The School of Computing will be sponsoring a road race this year and has asked you to create a program that will calculate the entry fees for each participant. The race will offer three different courses; a Half marathon, a 10 Kilometer run, and a 5 Kilometer run Entry Fees: Entry fees are based on the age of the runner and the event they participate in. The fee schedule is as follows Age Breakdowns Children (ages 17 and under) $50 Adults (ages 18 to 65) Master (66 and over Half Marathon 10K $20 5K $10 $20 $15 60 $25 T-Shirt Fees T-shirts are free with entry fee unless the participant orders an X-Large. Participants who order X-Large t-shirts will be charged a $2.00 additional fee Options: Two optional events will be offered - PreRace Dinner The cost of dinner is $15 - PostRace Lunch The cost of lunch is $10 Each registration processed should be assigned a registration number that is composed of the first initial of the first name (upper case), the first initial of the last name (upper case), an indicator as to which race (HM, 10K, 5K) and a registration number. The registration number should begin with 500 and increase by 1 for each registration processed Output should be formatted as shown below: Sample output no optional expenses. Sample output including all optional expenses. ScC Heliday Run SoC Holiday Run Name (Last, Frtc Wlas, Cameron Name (Last Furst) Jchns, Tom Event Shirt Sze Small Medum Event Optione Shin Siza Smal Medium Lage Optiona: Ha Merathan PreRace Dinner (S15) O 10K PastRace Lunch($10 10K FoetRace urch (S10) o XLarge Process Order Cear Form Procea Order Clear Fom Ext Paticipant's Name ile Paticipants Ape: 32 Fegietraion Number CWHM500 Porticiport's Name: Jchrs. Tom Participart's ge: 48 Reg sration Number: TJ5500 Entry Fee Due $20.00 dctonal t aht cost: 5200 Adectiond opliondl ees: $25.00 Total Due $5.00 Optional fecs included PeRace dne Post Racelunch Total Due: $47.00 Programming Details (three event procedures) Process Order Click - o Validate Inputs Give appropriate error message and end the procedure if incorrect - Name textbox should not be blank - Age textbox should contain a positive, numeric value One radio button was selected from both groups o Produce registration number o Determine correct entry fee o Determine if additional fee should be charged for t-shirt o Calculate total optional item cost o Calculate total amount due o Display output (formatted as shown in sample output -prev page) - Name " Registration Number " Entry Fee T-Shirt Cost (show only when applied size XL radio button checked) Optional fees (show only when applied lunch and/or dinner checkboxes checked) Total Due - Clear Button Click o Clear all textboxes o Clear all radio buttons o Clear all checkboxes o Sets the focus on the name textbox Exit Button Click o Closes the program Steps required for planning and completing Programming Project 2: . Analyze: a. Identify Inputs, Outputs, and Processes c. The analysis does not have to be submitted for grading. 2. Design: Create a Data Design (variable usage) Table for your program. a. b. The Data Design Table should be typed in Word. Name the file PP2_.docx c. Generate the pseudocode for the program. e. The pseudocode does not have to be submitted for grading. 3. Design the interface: a. Name the project PP2_ 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 used in your code meaningful names using proper prefixes e. Make sure the fom 'looks good'; all controls are lined up and properly sized f. The text properties should have appropriate values when needed. 4. Code a. b. c. d. e. Following your pseudocode, translate into VB code Use camel casing and meaningful names for all variables. Select appropriate data types as needed Before you submit your program, you must remove any empty stubs and unused variables. 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 The program should include a general comment section just after the Public Class statement. Include: f. i. Programmed by: Your full name ii. CIS 115 and your section number and class time ii. Programming Project 2 g. 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 works properly 6. Complete the documentation: Your Word doc file that contains: a. Name the file PP2_.docx b. A cover page consisting of your name, JagID, class and section, current (submitted on) date and assignment title e. A copy of the code listing n shots of your programs executing You need to submit the following files as attachments to the Program 2 Assignment in SAKAI: Your Word doc file from above that contains: A cover page -your name, JagID, class and section, current (submitted on) date and assignment title A copy of the code listing Screen shots of your programs executing Your compressed(zipped) VB Project folder containing your VB program: To compress the folder right-click the project folder, then select send to compressed folder. Thiswl create a compressed copy of the project folder that you can attach to the assignment