Skip to content

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.

Notifications You must be signed in to change notification settings

Letitia09/Armstrong-Series

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

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

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages