Computer Science, asked by adityaware01, 2 months ago

Write a javascript program to display even numbers from 10 to 50​

Answers

Answered by Anonymous
2

Answer:

JavaScript to print Even Numbers within a Range!

for(i=10; i<=20; i++){

// let's divide the value by 2.

// if the remainder is zero then it's an even number.

if(i % 2 == 0){

console. log(i);

}

Answered by manindhra73
1

Answer:

60 is answer would be your answer

Similar questions