Solve: Count Odd Digits
Created By: Chris Taylor
/ Version: 2023.7.0
Complete the following method that counts how many of the digits
in the integer are odd.
Your implementation must use recursion and may not use any loops.
For this problem we're expecting only a method.
Don't define a class, include modifiers like static or public, add import statements, or add code outside the method declaration.int countOddDigits(int n) {
return 0;
}