Computer Science, asked by abhimohan2004, 6 months ago

Write a JavaScript program using for loop that will iterate from 0 to 15. For each iteration, it will check if the current number is odd or even, and display a message on the screen.

Answers

Answered by jbmulla24
2

Answer:

I hope you will follow me

Explanation:

Write a for loop that will iterate from 0 to 10. For each iteration of the for loop, it will multiply the number by 9 and log the result (e.g. "2 * 9 = 18").

Bonus: Use a nested for loop to show the tables for every multiplier from 1 to 10 (100 results total).

Similar questions