![]() ![]() Here's how to do it: Step 4 - Add up all the digits in this number (except the checksum) Step 5 - If (sum x 9) MOD 10 = checksum, you have a valid card! If it is not divisible by 10, the number is invalid.' This is NOT true. I searched and found this: You were right, up to the checksum/mod test where YOU claim: 'If the final sum is divisible by 10, then the credit card number is valid. It must start with: 4 for Visa cards 5 for Maste.Ĭhaz.NYC 28-Oct-16 9:58 28-Oct-16 9:58 I tried your code and had problems. ![]() A credit card number must have between 13 and 16 digits. ![]() Credit card numbers follow certain patterns. This is for a school assignment in a class on C (just plain old C, not C# or C++), and. I am hoping someone can help me with this. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |