Find the sum of digits of a three-digit number.
EasyProblem Statement
Find the sum of digits of a three-digit number.
Sample Input
number = 345
Sample Output
Sum = 12
Limits
Time: 2s · Memory: 256 MB
Find the sum of digits of a three-digit number.
number = 345
Sum = 12
Time: 2s · Memory: 256 MB