Question

Print Armstrong number in a given range using recursion.

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

				
					ENTER THE LOWER RANGE
1
ENTER THE UPPER RANGE
50
ARMSTRONG NUMBERS BETWEEN 1 AND 50
1 2 3 4 5 6 7 8 9 
				
			

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 *