JavaScript IF assignment two Code the JavaScript for the if statements. You do not need to make them work in a script, I just need to see the if statements the way you would code them for a script. Note that as you look at the flowchart, the Y goes off to the right and the N goes off to the left.
Dept = 12 Review = Y Not being reviewed Msg = check In 3 months Sal > 50000 Msg = need raise Msg = okay
Dept = 12 Review = Y Msg = check In 3 months Msg = check In 3 months Sal > 50000 Msg = check In 3 months Msg = okay
Payhr > 50 Sal > 1000 Msg = ok Msg = check Msg = ok
Payhr > 50 Sal > 1000 Msg = hourly Pay ok Msg = check Msg = Salary ok
Code = N Msg = not Code N Payhr > 50 Sal > 1000 Msg = ok Msg = check Msg = ok
Code = N Msg = check Payhr > 50 Sal > 1000 Msg = ok Msg = check Msg = ok