Problem 1: Set up form with 4 majors at BCC (you chose the two letter represenation such as CI, BU etc). Pass the code to the function and put out a message with the name of the major in different words then you used on the form.

Problem 2: Set up a form with 5 projects that an employee could be working on. Pass the information from the form to a function and for every project they worked on they get a 500 dollar bonus so accomulate their bonus and return that amount. Use the while loop with an index and an embedded if to accomplish this.

Problem 3: Write the JavaScript to take in a persons name, their pay type (salary or hourly, use radio buttons for this), a text box for pay per hour and a text box for hours worked (only filled in if hourly employee), a text box for salary (only fill in if salary employee), a radio button to choose from three medical plans (Plan A costs $50, Plan B costs 35 and Plan C costs 25). Then have a button to click to calculate the pay and a text box to hold the calculated pay. If the person is a salary employee then divide the salary by 52 to get the weekly salary and then subtract the cost of the appropriate medical plan. If the person is a hourly employee and does not work over 40 hours per week calcualte their pay per hour times hours and subtract their medical. If the hourly employee worked over 40 hours they should get time and a half for the hours over 40. Calculate their pay and subtract their medical.