Skip to content

wmstack/armstrong-numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Armstrong-numbers

Rust program to determine whether arguments are armstrong

Usage:
./armstrong-numbers [integers...]

example
./armstrong_numbers $(seq 20)
The number 1 is an armstrong number.
The number 2 is an armstrong number.
The number 3 is an armstrong number.
The number 4 is an armstrong number.
The number 5 is an armstrong number.
The number 6 is an armstrong number.
The number 7 is an armstrong number.
The number 8 is an armstrong number.
The number 9 is an armstrong number.
The number 10 is not an armstrong number.
The number 11 is not an armstrong number.
The number 12 is not an armstrong number.
The number 13 is not an armstrong number.
The number 14 is not an armstrong number.
The number 15 is not an armstrong number.
The number 16 is not an armstrong number.
The number 17 is not an armstrong number.
The number 18 is not an armstrong number.
The number 19 is not an armstrong number.
The number 20 is not an armstrong number.

About

Determine if numbers are Armstrong numbers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published