Coad coach :Password Validation[Solved] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Coad coach :Password Validation[Solved]

My code is not passing 2/13 testcases in Password validation .Where i did mistake .let me know

19th Jan 2020, 1:43 PM
Hanmanth Pattem
Hanmanth Pattem - avatar
6 Answers
+ 1
Great thanks, Learned new thing..
19th Jan 2020, 2:25 PM
Hanmanth Pattem
Hanmanth Pattem - avatar
+ 1
Done
19th Jan 2020, 3:14 PM
Hanmanth Pattem
Hanmanth Pattem - avatar
0
I have tried, showing as Weak. I thinks thats the problem.Why so??
19th Jan 2020, 1:54 PM
Hanmanth Pattem
Hanmanth Pattem - avatar
0
What count(num[j]) will do???
19th Jan 2020, 2:18 PM
Hanmanth Pattem
Hanmanth Pattem - avatar
0
I made my code as private ,Is it enough ?
19th Jan 2020, 3:00 PM
Hanmanth Pattem
Hanmanth Pattem - avatar
0
Test these: Slsl2020 Slslslsl S2 ssssssss S2#ad Slsl2020ss .... You need to have between 5 and 10 characters, a DIGIT, an Uppercase, NO SPACES and NO SPECIAL CHARACTERS try not to forget any of these and for the test cases, try one error at a time to detect where is the problem for example slsl2020 tests only the uppercase, Slsl 2020 tests the space, Slslslsl tests the digit Slsl20# tests the special character Sl20 and Slsl2020ss test the number of characters. This logically helps you for any programming language you can use to solve the problem.
21st Jan 2020, 10:34 AM
Josée Mallah