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 www.codelivly.com #
 
PREVIOUS NEXT
Tagged: #odd #js
ADD COMMENT
Topic
Name
6+8 =