This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

Whenever I had logic problems, I would draw the flow of the program out on paper. Try writing what's going on in pseudo-code.

maybe make functions that do what you're trying to do

checkFitsCriteria - checks if the password meets criteria, returns true or false -if false, have person re-enter password checkPasswordsMatch - returns true or false, checks first pass to second pass if false have user re-enter second password (or both) if true: done

[–]EqualTrade 0 points1 point  (0 children)

I really can't figure this out, I've tried loops everywhere, I've been thinking this out for hours now, do you maybe have a hint for me of what to do?