Skip to content

We prompt the user for a credit card number and validate whether it's a legitimate American Express, MasterCard or Visa card number. The program utilizes Luhn's algorithm for validation, multiplying selected digits by 2 and performing specific checksum calculations.

Notifications You must be signed in to change notification settings

koushalsmodi/Credit-Card-Validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

Credit-Card-Validator

We prompt the user for a credit card number and validate whether it's a legitimate American Express, Mastercard or Visa card number. The program utilizes Luhn's algorithm for validation, multiplying selected digits by 2 and performing specific checksum calculations.

About

We prompt the user for a credit card number and validate whether it's a legitimate American Express, MasterCard or Visa card number. The program utilizes Luhn's algorithm for validation, multiplying selected digits by 2 and performing specific checksum calculations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages