2 lines
95 B
Text
2 lines
95 B
Text
public bool isEven(int n){return (n % 2) == 0;}
|
|
public bool isOdd(int n){return (n % 2) == 1;}
|