+ 3
Please help me to print even numbers and explain
6 Réponses
+ 3
ty @Yasir Khan but im trying to print them in a new line using this statemen___ document.write (i "<\br>")
+ 3
tq bro its working
+ 3
@calvin bro what is this statement idk cud u expln document.open () and close () functions how it works
+ 2
hey guys cud u help me ot...i want to enter value manually of upto threshold
+ 1
Here you go..
https://code.sololearn.com/WDtd4xSmzr9c/?ref=app
0
The correct way to use document.write is
var i=0;
document.open();
for(;i<=100;i+=2)
{
document.write(i + "</br>");
}
document.close();