Question 5
[15]
Write a program to accept a number, check and display whether it is a Dudeney
number or not. A number is said to be a Dudeney number, if the cube of the sum
of its digits is equal to the number.
For example, 512.
5+1+2= 8 and 83 = 512.
[15]
Answers
Answered by
3
hope this helped.
thank you
Attachments:
Similar questions