Using switch and if else statement, while a script to calculate a person's pay. The rate of pay is 35 per hour. Any hours worked after 40 hours is paid at the rate of 1.5 times the normal hourly rate. Calculate and display the normal pay,the over time pay,and the total pay using POP-UP boxes test you program using the following data for the number of hour work.
30
35
40
45
50
30
35
40
45
50