Proposals of math codes. Area polygon. Vertices rectangle. Linear regression. Decimal IP

30.- Validate Credit Card.

Write an application where the user enters a credit card number and shows if that card is valid or not.

Use the Luhn algorithm:
http://www.brainjar.com/js/validation/default2.asp

3 Likes