Write a program in java to check if the input is a Smith Number.
Answers
Answered by
0
Answer:
sum of digits =6+6+6=18. sum of digits of the factors 2+3+3+3+7=18 hence 666 is a Smith number
Similar questions