Answer to Question #264392 in HTML/JavaScript Web Application for Garima

Question #264392

Explain about control and looping structure with an example program? 


1
Expert's answer
2021-11-11T17:37:26-0500
for (let i = 0; i < 10; i++) {
    if (i%2==0) {
        console.log("Even")
    } else console.log("Odd");
}

This function implements control and loop structure in JS.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS