Skip to content

Commit

Permalink
luhn: sync docs (#2827)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerfcsantos authored Aug 3, 2024
1 parent 4f12cf1 commit 2389fd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exercises/practice/luhn/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ The first step of the Luhn algorithm is to double every second digit, starting f
We will be doubling

```text
4_3_ 3_9_ 0_4_ 6_6_
4539 3195 0343 6467
↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ (double these)
```

If doubling the number results in a number greater than 9 then subtract 9 from the product.
Expand Down

0 comments on commit 2389fd9

Please sign in to comment.