Write a program to calculate the sum of digits of all numbers in a hardcoded array.
MediumProblem Statement
Write a program to calculate the sum of digits of all numbers in a hardcoded array.
Sample Input
Array: [123, 45, 67]
Sample Output
Sum of Digits: 28
Limits
Time: 2s · Memory: 256 MB