Question #264392

Explain about control and looping structure with an example program? 


Expert's answer

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!

LATEST TUTORIALS
APPROVED BY CLIENTS