Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 545 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 545 Bytes

Armstrong-Series

Armstrong number is a number that is equal to the sum of cubes of its digits. For example 0, 1, 153, 370, 371 and 407 are the Armstrong numbers.

Read the range of Values.

Input : 100 and 1000 Output : 153, 370, 371, 407

Input : 1000 to 9999 Output : 1634, 8208 and 9474 .

For example:

Test	        Input	   Result
Test Case 1   100      Armstrong series:
              1000     153
                       370
                       371
                       407