Skip to content
← Back to Community
password checker
Profile icon
scott_francis

Write a program to check the validity of password input by users.

Following are the criteria for checking the password:

At least 1 letter between [a-z]
At least 1 number between [0-9]
At least 1 letter between [A-Z]
At least 1 character from [$#@]
Minimum length of transaction password: 6
Maximum length of transaction password: 12

Your program should accept a sequence of comma separated passwords and will check them according to the above criteria. Passwords that match the criteria are to be printed, each separated by a comma

Example
If the following passwords are given as input to the program:
[email protected],a F1#,2w3E*,2We3345
Then, the output of the program should be:
[email protected]

Include tests

Voters
Profile icon
mozulet
Profile icon
JaredMartinez5
Profile icon
LizWhitson
Profile icon
MeowC
Profile icon
scott_francis
Comments
hotnewtop
Profile icon
spybrave

@scott_francis : By the way was this a challenge or you wanted to show us the Stack Overflow question..
THE STACK OVERFLOW QUESTION(LINK)

This file cannot be displayed: https://storage.googleapis.com/replit/images/1535036038138_d1c99e0cb496757f913b41e83fdef5ba.pn

Profile icon
Haruto121

@spybrave 100% match :))))