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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started