Convert the following into do-while loop. | SoloLearn: Learn to code for FREE!

0

Convert the following into do-while loop.

var i=0 for (i=1;i<=20;i++) { document.write(i+""); i+=2; }

2/17/2017 6:47:43 AM

Abhinav

1 Answer

New Answer

0

var i=1 do{ document.wtite(i+""); i+=2; }while(i<=20)