JavaScript Assignment for CIT12:

Problem #1: Write the code using JavaScript to take in a persons pay per hour and the hours they worked, multiply them together and display their gross pay. You need to do that for 3 people so you need to make a loop.

Problem #2: Write the code using JavaScript to take in a persons name and their GPA. If the GPA is greater than 3 display a message telling them they are doing very well on the screen along with their name. If the GPA is not greater than 3 place a message suggesting they work harder on the screen along with their name.

Problem #3:You are having a three day sale. The price of an item will drop 10% each day. Take in a price and do a while loop to print out the price for each day of the sale.