Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

odd or even js

for(let count =0; count<=100;count++){
 count%2==0? console.log(`${count} is even`):console.log(`${count} is odd`);
 ;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #odd #js
ADD COMMENT
Topic
Name
3+6 =