convert the following while loop into for loop x=5 while(x< 10) print(x+10) x+=2
Answers
Answered by
3
Answer:
for (let i = 0; i < 10; i += 2) {
console.log(x + 10)
}
-JavaScript Syntax
Similar questions