Question: Consider the following JavaScript code segment. if (! (num1 > num2)){ } else document.write(RED); b. BLUE c. GREEN { if (num1* num2 == 0){
Consider the following JavaScript code segment. if (! (num1 > num2)){ } else document.write("RED"); b. BLUE c. GREEN { if (num1* num2 == 0){ document.write("BLUE"); } else { } } Give values for num1 and num2 that would result in each color being displayed: a. RED num1 = _num2 = document.write ("GREEN"); num1 = num1 = _num2 _num2 =
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
