This project involves verifying a credit card to be an:
-
American Express (starting with 34 or 37) or
-
a MasterCard (starting with 51, 52, 53, 54 or 55) or
-
a Visa (4).
We shall be applying the Luhn's algorithm which helps us to determine whether a credit card number is syntactically valid or not.
Programming Language Used: - C
Output: