The user is prompted to enter a login:
-
When canceling, we write the message "Login cancelled";
-
when entering numbers and an empty line, write the message "I don't know you";
-
when entering a name, ask for a password.
-
When entering the password "LOGOS" write the message "Welcome, user!";
-
when canceling the password, we write the message "Login cancelled";
-
otherwise, write the message "Password error. Please try again".