Skip to content

Commit

Permalink
practice/armstrong-numbers: add solution
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Nov 25, 2024
1 parent c82a324 commit 023fda3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions exercises/practice/armstrong-numbers/armstrong-numbers.ua
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# Check if a number is an Armstrong number
# Result ? Number
IsArmstrongNumber ← |1 ⊙(⍤ "Please implement IsArmstrongNumber" 0)
IsArmstrongNumber ← |1 = /+ⁿ⊸⧻ ∵(⋕)°⋕ .

0 comments on commit 023fda3

Please sign in to comment.