0

How to identify even odd function in program

11th Feb 2020, 6:44 AM
Hamza Ali
Hamza Ali - avatar
2 ответов
+ 2
If number % 2 == 0 even else odd
11th Feb 2020, 6:47 AM
A͢J
A͢J - avatar
0
Why we took remainder as 2 colud you please explain that
11th Feb 2020, 9:36 AM
Hamza Ali
Hamza Ali - avatar