Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

L-2 Odd or Even exercise

Fill the blanks to the code above in order to create a loop that goes from number 1 to 100 and for every number prints if it is an odd or an even number.

Create the currentNumber variable and update it accordingly. Put this part of code inside a loop to achieve your goal.

Estimated time: 10 mins.