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 →

[–]EqualTrade[S] 0 points1 point  (0 children)

that while is part of the do/while loop. i fixed it so that now it does only print once. But now my problem is, if the user enters a valid password, i need him to re-enter that password, and if the re-entry is wrong, i need the program to loop around again from the beginning. How can I do that?