Schrijf een programma dat een gebruiker om het wachtwoord vraagt totdat die het juist heeft en steeds aangeeft hoeveel foute pogingen de gebruiker al heeft gedaan. Het juiste wachtwoord is InformaticaWetenschappen!
.
AtsmaIsCool!
MichielsIsGeweldig!
DerckIsFantastisch!
Wiskunde
Biologie
Chemie
STEM
InformaticaWetenschappen!
Wrong password - attempt 1 - try again
Wrong password - attempt 2 - try again
Wrong password - attempt 3 - try again
Wrong password - attempt 4 - try again
Wrong password - attempt 5 - try again
Wrong password - attempt 6 - try again
Wrong password - attempt 7 - try again
Correct password
Password1234
informaticawetenschappen
Informaticawetenschappen
InformaticaWetenschappen
InformaticaWetenschappen!
Wrong password - attempt 1 - try again
Wrong password - attempt 2 - try again
Wrong password - attempt 3 - try again
Wrong password - attempt 4 - try again
Correct password