Question: Develop a Javascript program to determine the gross pay for three employees. The company pays 'straight time' for the first 40 hours, and 'time and

Develop a Javascript program to determine the gross pay for three employees. The company pays 'straight time' for the first 40 hours, and 'time and a half' for all hours above 40. Your program should take the input for this information (for instance, get data for employee 1, calculate it, get employee 2, calculate it, etc) and then print out an answer on either a new page or in a text area on the current page or as a dialog box. Modify your index.html page to include a link to this page. Be sure to comment your code in either HTML comments or JavaScript comments.

Note: Do not use dialogs for user input.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!