-
-
Notifications
You must be signed in to change notification settings - Fork 546
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a story to the luhn exercise (#2519)
* add a story * update instructions
- Loading branch information
1 parent
ebc4206
commit 8e2cff4
Showing
2 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
10 changes: 4 additions & 6 deletions
10
exercises/luhn/description.md → exercises/luhn/instructions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Introduction | ||
|
||
At the Global Verification Authority, you've just been entrusted with a critical assignment. | ||
Across the city, from online purchases to secure logins, countless operations rely on the accuracy of numerical identifiers like credit card numbers, bank account numbers, transaction codes, and tracking IDs. | ||
The Luhn algorithm is a simple checksum formula used to ensure these numbers are valid and error-free. | ||
|
||
A batch of identifiers has just arrived on your desk. | ||
All of them must pass the Luhn test to ensure they're legitimate. | ||
If any fail, they'll be flagged as invalid, preventing errors or fraud, such as incorrect transactions or unauthorized access. | ||
|
||
Can you ensure this is done right? The integrity of many services depends on you. |