+ 1

[✓]Password Validation

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

18th Sep 2020, 9:21 AM
Алексей Партала
Алексей Партала - avatar
3 ответов
+ 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
Алексей Партала
Алексей Партала - avatar