For an application we are working on I need to generate sample credit card numbers which pass the Luhn algorithm but which are also unique, so we cannot use the sample credit card numbers.
We need to be able to generate around 300 card numbers at a time, and ideally i would be able to do this when generating my input data.
Many Thanks
They have the same meaning. 'Anyone' is more formal and most often used in writing. 'Anybody' is more informal and less likely to be used in writing.
Although “anybody” is in the third person singular, and hence the correct verb form used with it must contain an “s” (as in “anybody who has read the book …”), “have” in the situation described above is the only “correct” option. Why?
'Anybody' is a third person singular form and takes -s in the present simple tense. That's why the question form requires -s and 'Does anybody' is correct.
This form is principally used to emphasize a fact, particularly to contradict a previous assertion, with emphasis on "does": "I don't think anyone knows." You're on the right track, but the choice between the two is determined by meaning, not popularity. "Does anyone know what we're having for dinner?" is a question.
Create random numbers, then calculate the checksum number.
You can find more information at Wikipedia - Luhn, both details about the algorithm and links to different implementations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With