//Print all even numbers from 0 – 10
let num=[4,2,3,1,5,6,7,8,9,10];
for(let i=0;i<num.length;i++)
{
    //console.log(num[i]);
    if(num[i]%2==0)
    {
    console.log("Your even Number =")    
     console.log(num[i]);
        
    }
    
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: