disarium number in qbasic
Answers
Answered by
2
Answer:
A number is said to be the Disarium number when the sum of its digit raised to the power of their respective positions is equal to the number itself. Some of the other examples of Disarium number are 89, 135, 518 etc. To find whether given number is Disarium or not, calculate the sum of digits powered with their respective positions.
Explanation:
Thank you
Similar questions