Solve: Digit Total
Created By: Chris Taylor
/ Version: 2023.7.0
Complete the following method that returns the total of all the individual
digits added together.
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 digitTotal(int inputN) {
return 0;
}