WAP in JAVA to check whether a number entered by user is a SMITH number or not.
please dont use any member methods or functions, in one function, the prg must be written
.
also no solution from frank solution pdf
smith number is a composite number whose sum of digits equal to the sum of the digits of its prime factors.
eg.378 ≈ 3+7+8=18
prime factors of 378 are 2,3,3,3,7 ( sum = 18 )
hence 378 is a smith number
Answers
Answered by
0
Answer:
whats the question here?
Explanation:
Similar questions