Internet Developer - JavaScript Assignment #2
Problem #1: I want you to write a program with a loop. You should have a loop that takes in
name, hours worked and pay per hour and calculates and display the pay for each person - you
should have the loop execute 4 times so you process 4 employees. As you process, I want you
to also add to a total pay accumulator and after the loop ends I want you to display the total.
Problem #2: Redo the program above but instead of doing it
5 times, due it until the total pay is greater than 5000.
Problem #3: This time I want you to end the loop when the user
enters an N. You can either have the user type a N as the name or
you can set up a control variable that tests for the end.
Problem #4: I want you to write the JavaScript code that
includes on mouse over and on mouse out.