Final Project Option 4: Credit Card Validation

The following link describes rules for validating a credit card.  Write a program that will identify the type of credit card based on the credit number.  Also validate that the credit card number is correct.

 

 

https://adywicaksono.wordpress.com/2008/02/17/how-to-validate-credit-card-number/ (Links to an external site.)Links to an external site.

 

http://www.regular-expressions.info/creditcard.html (Links to an external site.)Links to an external site.

 

 https://cs.senecac.on.ca/~pro404/Pro404Assignment0.htm (Links to an external site.)Links to an external site.

 

view-source:http://www.stevemorse.org/ssn/cc.html

 

For credit on this project you must create a fully functional program in Java

 

Your program must include all of the following items:

 

    At least one Python List or Dictionary

    Use of user input

    Save or read files from a text file

    A loop / repetition sequence

    An conditional statement (if or if/else)

    Appropriate user defined object classes that encapsulate some program logic

 

You will be graded on the program's functionality, usability, and stability.