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