Page not loading? Try clicking here.
Placeholder

#592

Function 3 - Self Assessment 4 1s - MB

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언어프로그래밍

You must sign in to write code.