How to write an event driven JavaScript program to display odd numbers from 101 to 150. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to write an event driven JavaScript program to display odd numbers from 101 to 150.

21st Feb 2021, 3:13 PM
divya shivkumar
divya shivkumar - avatar
2 Answers
+ 2
Please link here your attempt.
21st Feb 2021, 3:18 PM
JaScript
JaScript - avatar
+ 2
Please add-show your attempt so the community can help you more easily :) Btw I think one solution is to use the Formula %2 and if it results 0, it's even :)
21st Feb 2021, 4:24 PM
Matthew
Matthew - avatar