Skip to content

A simple program in C that check if a number is a valid credit card number developed during CS50 intro to computer science course.

License

Notifications You must be signed in to change notification settings

lionffl/credit-card-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

README

A simple program in C that check if a number is a valid credit card number.

Features

  • Luhn algorithm check
  • Support to Mastercard (only for cards starting with 51, 52, 53, 54 and 55), Amex and Visa

Required libraries

  • CS50 Library for C: https://cs50.readthedocs.io/libraries/cs50/c/

Compile instructions

  • Using GCC gcc credit.c -lcs50 -o credit

About

A simple program in C that check if a number is a valid credit card number developed during CS50 intro to computer science course.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages