Skip to main content

Show the Odd and Evens of a Input

I need help with an exercise in my JavaScript course. Here is the utterance:

Create a program that reads the start and end values ​​of a range and prints all odd or even values ​​contained in the range.

  • The user must be able to choose between odd and even.
  • Show the result on the screen (not in the console.log).
  • Also show how many numbers in the sequence are even and how many are odd.
Via Active questions tagged javascript - Stack Overflow https://ift.tt/pNBYJOw

Comments