CIS 115 - Chapter 3 - Programming Project - Due-Monday, 2/12, by 11:55 pm As a student in the CIS 115 course, you are to write a por ta disolva costume rental's subtotal, tax amount, and total based on the daily costume price and the number of rental days. When the form loads, an input box should appear asking the user to enter his or her first name and last name The program should then display the first and last initials together on a line in the list box like shown in the screenshot below. If the user entered "John Doe" in the input box, the first line in the list box would say ID's Rental Summary Also when the form loads, the user should only be able to enter text into the costume and daily price text box and should only be able to click on the add costume and clear buttons. All other input controls should be disabled. The user will enter the costume they want to rent and the daily rental price into the top two text boxes. They will then click the button to add the costume and price to the list box. When the button is clicked, the costume and price should be added to the listbox and the price and costume text boxes should be cleared so the user can add another costume and price. Once the user has clicked the button to add a costume to the listbox, he or she will be able to add a pickup date and number of rental days and click button "display total rental costs". Display total rental costs will add a blank line between the items listed with their prices, and then add lines giving the rental return date, subtotal, tax, and total Once the user clicks to display the total rental costs, the top of the controls above the listbox's properties should go back to the same settings as when the form loaded loaded with only the costume text box, daily price text box, add costume button and clear button enabled. The clear button should set the control properties to exactly how they are when the form loads. The clear button should also have an input box pop up asking for the user's full name and display their initials on the first line. Programming Notes: The program should display the output as shown below. All prices should display to dollar amounts with 2 decimal places Variables must be created and used for all values used within the program You may only use one class variable to keep up with the subtotal. All other variables must have local scope Change listbox font to Courier New monospaced font) to make lining up the output easier. Form has loaded, user has entered full name into input box, first line in listbox has user's initials. Pick up date text box, rental days text box, and display button are disabled Costume Rental Form Daily Pro Add Come and Price Ask Ub Date Neber of Rart De User has clicked button to add costume and price. Costume and price added to listbox. Price formatted to display with $ and 2 decimal places Costume and price textboxes are cleared out Pick up date text box, rental days text box, and display button are enabled Day To JD' Rental Samary: Superman #50.00 Per Day Programmed By Odlo Parka Costume Rental Form Costume Daly Price Add Costume and Price Pok Ub Dule 02/05/2019 Number of User has added another costume/price to the listbox User now inputs date and number of rental days Display Total Rental Cesk JD's Rental Summary Superman 650.00 Per Day Batman 475.00 Per Day Programmed By: Odlo Parka bluetoo Costume Rental form Costume Daly Pace Add Come and Price Pokub Date: User has clicked button to display total rental cost Pick up date and rental days text boxes are cleared out and disabled Display button disabled Blank line added before displaying return date formatted to full date Subtotal, tax and total formatted to display with 2 decimal places and S. Supert 550.00 Per Day Batai 75.00 Per Day Return Date: Saturday, February 6, 2015 Subtotalt 6500.00 Text 450.00 Totalt 950.00 Pomedy Odeal A. Steps required for planning and completing Programming Assignment One: Name the program
_Chap3 PP Design the interface: Create the controls on the form. Set the properties for a nice interface. Give each control as well as the form meaningful names using proper prefixes Tab order should be set from top to down for fields that need to have focus. Make sure the form 'looks good'; all controls are lined up. Add an additional label that says "Programmed by and your name. Code: Use camel casing and meaningful names for all variables. Select appropriate data types as needed. Refore you submit your program, you must remove any empty stubs and unused variables Test and Debug: Find and correct syntax, run time, and logic errors. Test your program with a variety of inputs to be sure it works properly. Complete the documentation: Internal Documentation: O The program should include a general comment section just after the Public Class statement Include: - Programmed by: Your full name CIS 115 and the class time. . A general statement indicating the purpose of the program. o Comments (again) - Each event procedure should begin with a comment just after the header that states the purpose of that event. CIS 115 - Chapter 3 - Programming Project - Due-Monday, 2/12, by 11:55 pm As a student in the CIS 115 course, you are to write a por ta disolva costume rental's subtotal, tax amount, and total based on the daily costume price and the number of rental days. When the form loads, an input box should appear asking the user to enter his or her first name and last name The program should then display the first and last initials together on a line in the list box like shown in the screenshot below. If the user entered "John Doe" in the input box, the first line in the list box would say ID's Rental Summary Also when the form loads, the user should only be able to enter text into the costume and daily price text box and should only be able to click on the add costume and clear buttons. All other input controls should be disabled. The user will enter the costume they want to rent and the daily rental price into the top two text boxes. They will then click the button to add the costume and price to the list box. When the button is clicked, the costume and price should be added to the listbox and the price and costume text boxes should be cleared so the user can add another costume and price. Once the user has clicked the button to add a costume to the listbox, he or she will be able to add a pickup date and number of rental days and click button "display total rental costs". Display total rental costs will add a blank line between the items listed with their prices, and then add lines giving the rental return date, subtotal, tax, and total Once the user clicks to display the total rental costs, the top of the controls above the listbox's properties should go back to the same settings as when the form loaded loaded with only the costume text box, daily price text box, add costume button and clear button enabled. The clear button should set the control properties to exactly how they are when the form loads. The clear button should also have an input box pop up asking for the user's full name and display their initials on the first line. Programming Notes: The program should display the output as shown below. All prices should display to dollar amounts with 2 decimal places Variables must be created and used for all values used within the program You may only use one class variable to keep up with the subtotal. All other variables must have local scope Change listbox font to Courier New monospaced font) to make lining up the output easier. Form has loaded, user has entered full name into input box, first line in listbox has user's initials. Pick up date text box, rental days text box, and display button are disabled Costume Rental Form Daily Pro Add Come and Price Ask Ub Date Neber of Rart De User has clicked button to add costume and price. Costume and price added to listbox. Price formatted to display with $ and 2 decimal places Costume and price textboxes are cleared out Pick up date text box, rental days text box, and display button are enabled Day To JD' Rental Samary: Superman #50.00 Per Day Programmed By Odlo Parka Costume Rental Form Costume Daly Price Add Costume and Price Pok Ub Dule 02/05/2019 Number of User has added another costume/price to the listbox User now inputs date and number of rental days Display Total Rental Cesk JD's Rental Summary Superman 650.00 Per Day Batman 475.00 Per Day Programmed By: Odlo Parka bluetoo Costume Rental form Costume Daly Pace Add Come and Price Pokub Date: User has clicked button to display total rental cost Pick up date and rental days text boxes are cleared out and disabled Display button disabled Blank line added before displaying return date formatted to full date Subtotal, tax and total formatted to display with 2 decimal places and S. Supert 550.00 Per Day Batai 75.00 Per Day Return Date: Saturday, February 6, 2015 Subtotalt 6500.00 Text 450.00 Totalt 950.00 Pomedy Odeal A. Steps required for planning and completing Programming Assignment One: Name the program _Chap3 PP Design the interface: Create the controls on the form. Set the properties for a nice interface. Give each control as well as the form meaningful names using proper prefixes Tab order should be set from top to down for fields that need to have focus. Make sure the form 'looks good'; all controls are lined up. Add an additional label that says "Programmed by and your name. Code: Use camel casing and meaningful names for all variables. Select appropriate data types as needed. Refore you submit your program, you must remove any empty stubs and unused variables Test and Debug: Find and correct syntax, run time, and logic errors. Test your program with a variety of inputs to be sure it works properly. Complete the documentation: Internal Documentation: O The program should include a general comment section just after the Public Class statement Include: - Programmed by: Your full name CIS 115 and the class time. . A general statement indicating the purpose of the program. o Comments (again) - Each event procedure should begin with a comment just after the header that states the purpose of that event