WAP to whether a number is dudeney or not in java
Answers
Answered by
1
Answered by
0
Answer:
Consider the number 512. Sum of digits = 5 + 1 + 2 = 8. Cube root of 512 = 8. As Sum of digits = Cube root of Number hence 512 is a Dudeney number.
Similar questions