Computer Science, asked by muktachandgude2004, 15 days ago

Write a program using JavaScript to print Odd numbers between 1 to 100.​

Answers

Answered by SarthakMadan08
2

Answer:

for(i=10; i<=20; i++){

// let's divide the value by 2.

// if the remainder is not a zero then it's an odd number.

if(i % 2 != 0){

console. log(i);

}

}

Explanation:

Similar questions