Luhn Algorithm: Credit Card Checker

Luhn Algorithm: Credit Card Checker

Use Luhn algorithm to validate credit card numbers. Every credit card number is given as a string and has a correct form of four four-digit blocks, separated by single whitespace.

For this particular purpose, the algorithm includes such steps:

  1. Double every second digits starting from the rightmost.

  2. If the result of...

You should be an authorized user in order to see the full description and start solving this mission.