Hi i'm trying to make an output that lists numbers from 1 - 100 by using for loop and while loop. Here is my coding... It doesn;t work... can some1 correct it please? thanks.
public class Loop{
var i
for (int i=1; i<=100; i++){
document.write(i +)
}
}


Reply With Quote



Bookmarks