Solved

What Output Will the Following Script Produce

Question 14

Multiple Choice

What output will the following script produce
Var i = 0;
Var j = 3;
Var counter = 0;
While ( i < 5 )
{
If (i != j)
Counter = counter + i;
I = i + 1
}
Document.write( counter ) ;


A) 9
B) 14
C) 3
D) 7

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions