diff --git a/exercises/luhn/description.md b/exercises/luhn/instructions.md similarity index 76% rename from exercises/luhn/description.md rename to exercises/luhn/instructions.md index 4ad2038f7..5bbf007b0 100644 --- a/exercises/luhn/description.md +++ b/exercises/luhn/instructions.md @@ -1,12 +1,10 @@ -# Description +# Instructions -Given a number determine whether or not it is valid per the Luhn formula. +Determine whether a credit card number is valid according to the [Luhn formula][luhn]. -The [Luhn algorithm][luhn] is a simple checksum formula used to validate a variety of identification numbers, such as credit card numbers and Canadian Social Insurance Numbers. +The number will be provided as a string. -The task is to check if a given string is valid. - -## Validating a Number +## Validating a number Strings of length 1 or less are not valid. Spaces are allowed in the input, but they should be stripped before checking.