Topic: Mathematics Problem / Level: advanced

Problem: Write a program to calculate the sum of the squares of the digits of a number.

Run the code to see the output here...