[✓]Password Validation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

[✓]Password Validation

Only #7 isn't right [RUS][ENG] https://code.sololearn.com/ccd7YfWQzfkM/?ref=app

18th Sep 2020, 9:21 AM
Your Past
Your Past - avatar
3 Answers
+ 1
You should init simb and nums to 0...
18th Sep 2020, 9:56 AM
G B
G B - avatar
+ 1
Ah, I see... You can write it in a row, but still init every single var... Like int simb = 0, nums = 0, x = 0;
18th Sep 2020, 10:05 AM
G B
G B - avatar
0
I thinked, I can init some vars in one string. Thanks.
18th Sep 2020, 10:00 AM
Your Past
Your Past - avatar