Password Validation с++ | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Password Validation с++

Code fails only one task where it displays 'Strong' instead of 'Weak' https://code.sololearn.com/cvCIC3wwxM3I/?ref=app

26th Apr 2022, 7:43 PM
Freak Behind the monitor
Freak Behind the monitor - avatar
2 Antworten
+ 2
Remember that case statements inside a switch continue being executed if the previous one has not been terminated by a break statement. At the moment, you increment `symbol` not only when you find a special character, but when encountering a digit too.
26th Apr 2022, 8:10 PM
Shadow
Shadow - avatar
+ 1
Thank you
26th Apr 2022, 8:13 PM
Freak Behind the monitor
Freak Behind the monitor - avatar