+ 1
Why can't I pass the 8th test case? What's the missing?
5 Answers
+ 5
You have to think again about this:
if (isValid && countNum >= 2 || countSymbol >= 2) âŠ
Is that similar true to:
The password is strong when that has at least two numbers and has at least two special symbols?
+ 3
Sorry if I am telling wrong. Your programming input has a mistake maybe I can't tell the exact because I can't see your test cases
+ 2
// line number 24
else if ((input[i] >= 33 && input[i] <= 38) || input[i] == 42 || input[i] == 64)
// line number 30
if (isValid && countNum >= 2 && countSymbol >= 2)
+ 2
Thanks for the answers! I'll try
+ 2
Update: it's fixed now thanks guys