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:

Verified
Correct Answer:
Verified
Related Questions
Q9: What type of loop should be used
Q10: A procedure for solving a problem in
Q11: Which of the following is not a
Q12: If the string passed to parseInt contains
Q13: What is the output of the following
Q15: The word top in the term top-down
Q16: Research determined that all programs could be
Q17: What is the value of i after
Q18: Specifying the order in which programming statements
Q19: Which of the following statements is correct<br>A)