0
Is there a smarter way solving Password Validation using if statements ?
Hey, I just completed the code coach password validation in C++. My solution uses switch cases for every single character. I'm wondering if there is a smarter way to do this using if statements. https://code.sololearn.com/cSYW7yRFduus
1 Antwort
0
Thanks for the nudge ✩✮★✮✩
I will give it another go later.
I kinda knew using a lot of switch cases wasn't ideal.