The directions are listed as comments in the program. Note that you should change the extention to .html when you save it.

Problem #2: You need to take in the price of four non-taxable items a customer has bought and determine the total price. Then take in the amount the customer gave at the cash register to pay for the items and determine how much change the customer should receive.

Problem #3: You have received 4 numeric grades for the semester. Grades can range from 0 to 100. The first grade counts for 15% of you final grade. The second grade counts for 25% of your final grade. The third grade counts for 20% of your final grade. The fourth grade counts for 40% of your final grade.

Calculate and display your final numeric grade. Extra credit if you display the letter grade as well.

Problem #4: Take in a students name, number of credits and major. Write the JavaScript that will write the students name and the following:

If the student has a major of CI and there number of credits is greater than 50, write eligible for graduation. If the major is CI but the number of credits is not greater than 50 write the message not eligible. If the major is not CI write the message not a CI major.

Problem #5: You need to calculate an employees pay. To do this you will need:

• the number of hours the employee worked

• the number of hours the employee is contracted to work before the employee receives overtime (for example, the employee might be contracted to work 40 hours and only receives overtime for hours over 40)

• the pay per hour

• the rule for calculating over time (time and one half would be 1.5 while double time would be 2)

Test this problem with information about an employee who did not work over their contracted hours and again for an employee who did work over their contracted hours.