filmov
tv
Javascript Program to Check if a Number is Odd or Even #viralvideo #codesecret #javascript
![preview_player](https://i.ytimg.com/vi/7L1XqDEvyDE/maxresdefault.jpg)
Показать описание
#codesecret In the above program, number % 2 == 0 checks whether the number is even. If the remainder is 0, the number is even.
In this case, 27 % 2 equals to 1. Hence, the number is odd.
In this case, 27 % 2 equals to 1. Hence, the number is odd.