Write an algorithm in pseudocode which asks the user to enter a password. If the user enters “NotAtHome!”, then print “Welcome” and set a variable called correctPassword to True.
If they enter a different password, display “Wrong password” and set correctPassword to False.