Write output for the given code of for loop, JAVA Programming

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

Posted Date: 5/13/2013 5:42:20 AM | Location : United States







Related Discussions:- Write output for the given code of for loop, Assignment Help, Ask Question on Write output for the given code of for loop, Get Answer, Expert's Help, Write output for the given code of for loop Discussions

Write discussion on Write output for the given code of for loop
Your posts are moderated
Related Questions
Is it right that garbage collection guarantee that a program will not run out of memory?

You need to build an agent system using the JADE Toolkit that allows the lecturer of FIT5031 to broadcast their availability and arrange for consultation with students in a dynamic

I want School Management project Project Description: An easy school management project which able to store all data about students like fees structure, admission details and

How Polylines draws in java language? Java automatically closes the polygons it draws. That is it draws polygons which look like the one on the right rather than the one on the

Write a program to explain do while loop in Java ? // This is the Hello program in Java class Hello { public static void main (String args[]) { int i = -1; do { if (


what is mearnt by a variable in java

In this assignment, you will create 5 objects and get them to interact together. You will create theatres for which patrons will buy tickets from a box office to watch movies.


What Content Issues is happened in java language? Some people claim in which Java is insecure since it can show the user erotic pictures and play flatulent noises. By this stan