Adding another employee to the array and displaying it on the HTML table. Using the examples in the text and your exercises as your guide, create a stylish page that collects the employee's name, ID number, hours worked in a week and the base pay rate for each of the 10 users.
Using the code, calculate and show the total pay for the employee on a single page. There is the assumption that anything over 40 hours is overtime time. Overtime pay is time and a half, which means the base pay rate * is 1.5.
Do not make this a simple black-and-white few pages, add style to it. Show the output information on a single page. Besides that stylish page you are making, it must contain a table. The first line of the table is the header of the table. This will show the headings for each column. The columns will be Employee Name, ID, Total Hours, Total Pay, Base Pay and OT Pay.
The next 10 lines will show the information for the 10 employees entered for each column. If a pay column has a value of 0, you are to show the 0 value. Some of the OT pays columns will be 0 in that column as they will have less than 40 hours worked. The same holds true for Base and Total also should you have a worker with 0 hours. Each column should have some value in it even if the user did not submit a value.
You can decide what that value is when you write your code. An example of something not having a value if if they forgot to enter an Employee Number. What will display for a missing Employee Number? Enter each employee's information separately. Do not have a single page with 10 sets of entry boxes. Have a single page you use over and over for each of the 10. Display the final pay sheet only after the 10th one is entered.
This should be automatic, they enter the 10th one, it goes and creates the final pay sheet from there. Show all dollar values to the nearest penny. Show all hour values to the nearest hundredth. There are a few different ways to do overtime pay calculation. For this exercise, you will need to use an IF statement control structure to determine if Overtime Pay will be needed. When you test it for the screenshots,
do 2 sets of data calculations. Use each of the cases below for the first set's calculations and make sure to grab a screen shot of the data as it is entered and then the resulting page where the total pay is calculated. John A. Smith, A1256, worked 40 hours, pay rate $10 an hour Brian A. Mitchell, A1989, worked 10 hours, pay rate $9 an hour James E. Malone, A1990, worked 66 hours, pay rate $19.50 an hour Mary Ellis, A2017, worked 45 hours, pay rate $15.33 an hour Margaret D. Heisenbert, A1311, worked 0 hours, pay rate $7.50 an hour Cody B. Lasse, A0088, worked 12.50 hours, pay rate $9.15 an hour Lester I. Scruggs, A6359, worked 40.01 hours, pay rate $9.99 an hour Donald T. Greathall, A2016, worked 60 hours, pay rate $20.20 an hour Joseph S. Leepuy, A2021, worked 2.33 hours, pay rate $13.02 an hour Barron T. Sun, A9546, worked 39.99 hours, pay rate $19.56 an hour The second set of data you will need to create. Do not use the same values again used in the first set. Make sure your set has values with hours worked in hundredths a few times and dollar values to two decimal places a few times.
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of