WAP in java script to check whether a number is even or not
hlp me please
Answers
Answered by
0
Answer:
Example 1: Using if...else
Enter a number: 27 The number is odd. In the above program, number % 2 == 0 checks whether the number is even. If the remainder is 0, the number is even.
Similar questions