Array-promo

Question

Check whether the given number is armstrong number or not in a given range.

A positive number is called armstrong number if  sum of its own digits each raised to the power of the number of digits is equal to number

				
					Enter the lower range
1
Enter the Upper range
500
Amstrong Numbers:
1 
2 
3 
4 
5 
6 
7 
8 
9 
153 
370 
371 
407 
				
			

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 *