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)){ } 

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!