Hard
What is the result of this code?
password = “HelloTheDevs2022!”
If password has less than 12 letters
{
display ''low security, attention imminent attack, it takes at least 12 letters and a capital letter'';
}
Else if password has less than 12 lettres & at least 1 capital letter
{
display ''the password is accepted'';
}
Else if password has more than 12 letters & at least 1 capital letter & at least 1 number
{
display ''Strong security, sleep soundly'';
}
Else
{
display ''Please note that the password must contain at least one capital letter to be validated.'';
}
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
2
What about the merge sort method?7
What is special about quick sort?9
What is recursion?5
What does the While loop do?2
What is the complexity of this algorithm?2
Given an array of 17 elements sorted in ascending order, what is the cost of accessing the element with index 10?6
What type of structure are the results of a recursive function stored in?