Check if the password stored in the system is equal to the password entered by the user. The password stored in the system is passed as the first parameter to the solve() function while the password entered by the user is passed as the second parameter.
If both passwords are equal, print Correct password entered. Proceeding further. If the passwords are not equal, print Incorrect password. Please try again.