var x = 0; for (; x <= ; x += ) { document.write(x); } | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

var x = 0; for (; x <= ; x += ) { document.write(x); }

Plz answer it

3rd Nov 2020, 12:19 PM
SANDHIYA S
SANDHIYA S - avatar
3 Answers
0
Add code in description section, better to save and share link.. And you question is not clear.. Do you want to fill gaps ..? You can fill according to your need... Pls Make it question clear.. https://www.sololearn.com/discuss/333866/?ref=app Edit : SANDHIYA S Example : var x = 0; for (; x <=10; x += 2) { document.write(x+" "); } Output : 0 2 4 6 8 10
3rd Nov 2020, 12:28 PM
Jayakrishna 🇮🇳
0
Ok tq
3rd Nov 2020, 12:29 PM
SANDHIYA S
SANDHIYA S - avatar
0
Your code looking incomplete What you asking write Question properly and mention in brief . If u asking about loop read first how it is woRkiNg u will understood
3rd Nov 2020, 4:33 PM
A S Raghuvanshi
A S Raghuvanshi - avatar