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.

Categories

+35 votes
asked in CSC285_Fall2018 by (8 points)

1 Answer

+17 votes

I have understood the int n is the parameter that is the password length. I Still don't understand the double parameter though.

answered by (8 points)
+9

Remember: the person who was coding this wasn't writing good code! Maybe that parameter was a left-over from some previous version of the code...

...