What will be displayed after the following code snippet runs?
```
function itLoops()
{
var m = 0; var k = 0; var p = 0;
while (m < 3)
{
k = m;
for (p = 1; p < 6; p+=3)
{
k = k + p;
document.write(k + " ");
}
document.write("
");
m++;
}
}
```
a. 1 5
2 6
3 7
b. 0 4
1 5
2 6
c. 1 5
2 6
3 7
4 8
d. 2 6
3 7
a. 1 5
2 6
3 7
You might also like to view...
The Compatibility Checker finds ________
A) potential filename conflicts B) potential issues between different versions of PowerPoint C) potential content conflicts D) potential issues regarding those with disabilities
What is the best way to handle program errors?
A. Place the code between try{} catch {} blocks and handle each error as they occur. B. Handle each error by adding DEBUG statements C. Log all Errors in the log file D. The program should shut down securely of each error