what is the output of the following codefor i0


What is the output of the following code:

for (i=0; i<=10; i++)
{
document.write("The number is " + i);
document.write("
");
}

Output

The number is 0
The number is 1
The number is 2
The number is 3
The number is 4
The number is 5
The number is 6
The number is 7
The number is 8
The number is 9
The number is 10

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: what is the output of the following codefor i0
Reference No:- TGS0283677

Expected delivery within 24 Hours