Write a program that hardcodes a password, which must be short. Now pretend that this password is a secret from the rest of the program, which must try to guess it. The program then uses the password generator repeatedly until a randomly generated password matches the password the user entered. Assume that the password is five characters or less (otherwise the program will run for eons). Write out the number attempts it took to find the password.
*you don't have to hardcode it if you want*