Odd or even using switch case in java. C program to check odd and even using recursion.