0

How to print odd numbers between 20-30 using do while loop in js

3rd Oct 2018, 9:59 AM
manav
2 Answers
0
num%2 === 1 try it yourself
3rd Oct 2018, 10:13 AM
CalviŐ˛
CalviŐ˛ - avatar
- 1
In additional to CalviŐ˛'s answer: Another way to output odd numbers is: i+=2; instead of i++;
3rd Oct 2018, 10:58 AM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar