Question: Write a for loop that will iterate from 0 to 20. For each iteration, it will check if the current number is even or odd,

Write a for loop that will iterate from 0 to 20. For each iteration, it will check if the

current number is even or odd, and report that to the screen (e.g. "2" is even)

write the above code in java script in HTML code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!