GoConqr has a new look! Let us know what you think.

Module 7 of 18 · Media

Odd Even

Kostas Diakogiannis

Odd Even

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.

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?