0
How to calculate the longest password in length from 5?
3 Answers
0
I'm sorry, what?
0
not sure what you mean by 5
assuming you mean the seed value you can
get random no.s from rand()
turn it to string and concatenate with another random number until len(int password) <= your desired lenght
0
Im looking for the program to calculate the longest password out of five seperate words and then print out that word e.g
Password1: hello
Password2 : two
Password3: security
Password4: four
Password5: default
Security is the longest password as it has the most characters. How do i get the program to calculate this and then print out that word