0
How to find odd number till 101
19th Oct 2019, 7:30 PM
keshab palit
2 Respuestas
+ 4
if(variable%2==0){
//even
}
else{
//odd
}
19th Oct 2019, 7:40 PM
Odyel

+ 1
var i;
for(i = 1; i < 101; i += 2) {
console.log(i);
}
19th Oct 2019, 8:25 PM
Matt Watkins

¿Tienes a menudo preguntas como esta?
Aprende gratis de forma más eficaz
En tendencia hoy
Solving coding challenges
2 Votes
I am new
1 Votes
Advertising in Sololearn
1 Votes
RUST'S FUTURE
1 Votes
Programming Language
0 Votes