-
Notifications
You must be signed in to change notification settings - Fork 0
A credit card number is 16 digits long. The last digit is the control number. This program doubles all the odd number digits and finds the sum of all the doubled single digits and the even number digits. The result is divided by 10. When the digit after the decimal is subtracted from 10, the result must the control number.
SalmanAsh/Credit-Card-Number-Validator
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
About
A credit card number is 16 digits long. The last digit is the control number. This program doubles all the odd number digits and finds the sum of all the doubled single digits and the even number digits. The result is divided by 10. When the digit after the decimal is subtracted from 10, the result must the control number.
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published