for or while?
Open answerYou want to write a program that asks the user for a password, again and again, until they type the correct password (you don't know in advance how many attempts it will take). Which loop should you use, for or while, and why?

