My issue
Write a JavaScript code for printing all even numbers from 10 to 20.
My code
/* Write the JS Code to print all even numbers between start and end.*/
const start = 10;
const end = 20;
for(i = start ; i < end ; i++ ){
if(i/2 = 0){
console.log(i)
}
}
Learning course: Web development using JavaScript
Problem Link: Loops Practice Problem in Web development using JavaScript - CodeChef