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!
Fout wachtwoord - poging 1 - probeer opnieuw
Fout wachtwoord - poging 2 - probeer opnieuw
Fout wachtwoord - poging 3 - probeer opnieuw
Fout wachtwoord - poging 4 - probeer opnieuw
Fout wachtwoord - poging 5 - probeer opnieuw
Fout wachtwoord - poging 6 - probeer opnieuw
Fout wachtwoord - poging 7 - probeer opnieuw
Correct wachtwoord
Password1234
informaticawetenschappen
Informaticawetenschappen
InformaticaWetenschappen
InformaticaWetenschappen!
Fout wachtwoord - poging 1 - probeer opnieuw
Fout wachtwoord - poging 2 - probeer opnieuw
Fout wachtwoord - poging 3 - probeer opnieuw
Fout wachtwoord - poging 4 - probeer opnieuw
Correct wachtwoord