Computer Science, asked by hameedncspi, 5 months ago

convert the following while loop into for loop x=5 while(x< 10) print(x+10) x+=2​

Answers

Answered by SomebodyAtTheDoor
3

Answer:

for (let i = 0; i < 10; i += 2) {

console.log(x + 10)

}

-JavaScript Syntax

Similar questions