Skip to content

Commit

Permalink
[Luhn algorithm] Replace _ with arrows (#2466)
Browse files Browse the repository at this point in the history
  • Loading branch information
masters3d committed Aug 3, 2024
1 parent 1ed4ebf commit 685ec55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exercises/luhn/description.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 685ec55

Please sign in to comment.