Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+9 votes

What are the two methods of the HAnnaldous code supposed to do?

I assume the second method is telling you if there are special characters in the password and the first method wants to make sure the password is the right length and has special characters?

asked in CSC305 Fall 2019 by (1 point)

As far as I remember, second method looks for any special characters that you might have.

1 Answer

+1 vote

From what I saw, the first method went through and checked to see the length of each password in the array. The second method went through and checked to see if it had special characters involved in the password.

answered by (1 point)