sharpenyourteeth
-
Posts
2 -
Joined
-
Last visited
Posts posted by sharpenyourteeth
-
-
Well even if those programs are credible, what are you going to do with them? I think you were asked to write a program yourself, so the first thing you should do is figure out what a valid credit card number is. Here are some links that might help.
http://en.wikipedia.org/wiki/Credit_card_n...GenCardFeatures
http://money.howstuffworks.com/credit-card2.htm
http://www.avdf.com/feb99/art_vb003.html
So figure out what it is, then once you're ready to start programming post back here and I'm sure someone will help you get started. You may as well take this opportunity to learn a thing or two, instead of googling for already written program.
C - Finding the minimum value in an array
in Questions
Posted
that would work if you assumed 0, or null, was the last value in the array, otherwise the loop when just stop when it came across a 0. only character arrays are null terminated in C.