+ 1

Please. Give me a code in JAVASCRIPT that will run "square root " USING for,while,or do-while LOOP.

Javascript

24th Jan 2017, 7:49 AM
John Moises Pascua
John Moises Pascua - avatar
2 Antworten
+ 1
var x=0; while (x<=10){ document.write(Math.sqrt(x)+'<br>'); x+=2; }
24th Jan 2017, 8:00 AM
ASNM
ASNM - avatar
+ 1
thanks man.
6th Mar 2017, 1:01 PM
John Moises Pascua
John Moises Pascua - avatar