In your opinion, what is the best method for validating a user input string.
For example , to make sure that the user input 7 digits as opposed to letters or a mix of the two.
Should I use a loop to check isdigit() for each character, or is there a way to look at the string as a whole?
What would this kind of structure look like?
Regards,
Braydon