Problems
Receive a natural number with up to 9 digits, and write a program that uses a recursive function to print the sum of the squares of each digit.
(Only one variable may be used in the main() function, and only one parameter may be used in the recursive function.)
Example
12345
55
Source
자기주도C언어프로그래밍