Array-promo

Question

Program to determine whether a given number is a Disarium number in a given range.

(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.)

				
					Enter the lower range
1
Enter the Upper range
500
Disarium  Numbers:1    2    3    4    5    6    7    8    9    89    135    175  
				
			

Share code with your friends

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

Code

Coding Store

Leave a Reply

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