Print Disarium number in an array.

					(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.)
11 + 72 + 53 = 1 + 49 + 125 = 175

Share code with your friends

Share on whatsapp
Share on facebook
Share on twitter
Share on telegram


Coding Store

10-minute Stress-Buster Games

Leave a Reply

Your email address will not be published. Required fields are marked *