Computer Science, asked by shamycool6850, 7 months ago

disarium number in qbasic

Answers

Answered by Theja18
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