View Single Post
Old 11-22-2010, 11:29 AM   #6
Pete Zicato
Turns out my CRS is a symptom of TMB.
 
Join Date: Jan 2010
Location: Chicago suburbs
Posts: 2,916
Quote:
Originally Posted by Flint View Post
That should work, right?
No. Step through the code and ask yourself what would happen if the password were too short and had no digit.

@Lamplighter - yes in a real world program. Flint didn't mention it as part of the exercise.
__________________


Talk nerdy to me.
Pete Zicato is offline   Reply With Quote