Skip to content

The program that shows whether the entered credit card number is valid and if valid which bank it belongs to.

Notifications You must be signed in to change notification settings

mustafasirinn/Card-Validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Card-Validator

The program that shows whether the entered credit card number is valid and if valid which bank it belongs to.

Luhn Algorithm is used for card number validation process. In this program, Luhn's Algorithm is written in C language.

Credit card numbers are classified as follows:

Amerikan Express -> number of digits:15 first two digits: 34 or 37

VISA -> number of digits: 13 or 16 first two digits: 4

MASTERCARD -> number of digits: 16 first two digits: 51,52,53,54 or 55

The program is written according to only these values.

Here, online card number validator site and it contains more information about Luhn Algorithm: https://www.datageneratortools.com/card/validator

For more information about Anatomy of a Credit Card: https://www.creditcardinsider.com/learn/anatomy-of-a-credit-card/

About

The program that shows whether the entered credit card number is valid and if valid which bank it belongs to.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages