Task Requirements The Rules for the ID Length of the ID must be 3 to 15 characters.
Only alphanumeric(lowercase) characters and [ -] , [ _ ], [ . ] are allowed.
[ . ] can not be used at the beginning and the end, and cannot be used consecutively.
Seven Steps in Creating Recommended ID Step 1. Change all the uppercase letters to lowercase.
Rule of the Game Certain number of players present a word in turns, that begins with the letter of the last word’s ending. For instance, if the last word was apple, the current player needs to present a word that starts with e. No word can be presented twice in the same game.
Therefore the loser is a. whose word presented didn't begin with the last word's ending(let's call this following the previous word) or b.
Problem Create a program that uses Luhn’s Algorithm to identify if the input number is a valid credit card number for AMEX, MASTERCARD, and VISA. Breaking Down the Problem Basic Characteristics of Credit Card Numbers 1. The numbers have specific **digits** (AMEX: 15, MASTER: 16, VISA: 13 or 16 ) 2. The **first two digits** of the number are also specific (AMEX: 34 or 37, MASTER: 51~55, VISA: 40~49) Luhn’s Algorithm Not only does the number have to fit the requirements above, it also needs to be validated through Luhn’s Algorithm which is as follows:
0. Prerequisites Github is installed (Link to Github Desktop) 1. Install Hugo [for Windows 10] Create a new folder with the name “Hugo” on C: directory.
Inside C:\Hugo, create another new folder with the name “bin”.
Download the latest version of Hugo for Windows (which is in .zip format) from Hugo Releases.
Extract the zip file into the C:\Hugo\bin, which was created in Step 2.