Skip to content

Shahir-47/Credit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Credit

A program that prompts the user for a credit card number and then reports (via printf) whether it is a valid American Express, MasterCard, or Visa card number, per the definitions of each’s format herein

Run the program first by running the follwing command line in the shell: $ ./credit

Then you'll be asked to enter your credit card number upon which the program will output the result.

The Program first check if the number is valid by utilizng Luhn’s Algorithm and then determines which credit card company the card belongs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages