frmReader - Title (Read It) Create a text file with 6 double numbers listed. Name the text file grades.txt. In this form
Posted: Wed Apr 27, 2022 3:40 pm
frmReader - Title (Read It) Create a text file with 6 double numbers listed. Name the text file grades.txt. In this form you should read this files contents into an array when the form is loaded and then display the array's contents in a ListBox control. There should be a Grades button that calculates and displays the total of the grades in the array, the average of the grades in the array, and the letter grade of the grades in the array. Use an if/else if construct to figure the letter grades based on the following criteria: Greater than or equal to 90 - A, Greater than or equal to 80 but less than 90-B, Greater than or equal to 70 but less than 80-C, Greater than or equal to 60 but less than 70-D, Less than 60 - F. Put all information into labeled labels. Add a Close button to close the form to return to frm Main. frmPayroll - Title (Payroll) Should have label and textboxes for the user to enter hours worked and rate of pay. The program should use a value-returning method to figure gross pay by passing information from the user when a calculate button is clicked. If the hours are greater than 40 overtime should be calculated as well based on 1.5 times the rate for all hours over 40, with regular pay for the first 40 hours. There should also be a value returning method called deductions. In this method, you should use a constant for FICA to be 6.5% of gross pay. Taxes should be figured as follows: Gross pay less than or equal to 200 - Tax is 0, Gross pay greater than 200 but less than 500 - Tax is 5% of Gross pay, Gross pay greater than or equal to 500 – Tax is 7.5% of gross pay. Return FICA tax + tax from this method. There should be a void method called Net pay that gets passed gross pay and deductions and then calculates and displays all information with headings in a list box for the employee info entered. Add a Clear button to clear info in textboxes and listbox to start again. Add a Close button to close the form to return to frm Main. frmClick - Title Click Me) Should have form that is 500 x 500 in size with a green background. When the mouse button is clicked inside of the form it should give the x,y coordinates. Each time it is clicked it should give you updated coordinates. If the user clicks the exact center of the form, a message box should pop up saying "Awesome Job!", Add a Close button to close the form to return to frm Main. frmAbout - Title (About Me) Should have a label that gives your name, ITSE 1330 Unit 7 Mastery Project and the date. Add an OK button that is set as the Cancel Button that will close the form.