[Solved] Sum of digits with Java
Write a program to find the sum of digits in a number using recursion. Input and Output Format: Input consists of a nonnegative integer. Refer sample input and output for formatting specifications. All text in bold corresponds to input and…