incorrect: user stores the user input for the username, password stores the user input for the password, login has whether the login is successful or not The program should then display these messages in
Write a
prompts the user to login, and displays appropriate messages according to whether the details are correct, partially correct, or incorrect: user stores the user input for the username, password stores the user input for the password, login has whether the login is successful or not The program should then display these messages in their respective cases: If user is juan and password is secret, the login is successful and the message displayed should be: Login successful! If either the user is not juan OR the password is not secret, the login is unsuccessful and the message displayed should be: One of the things entered is incorrect Login failed If both the user and password do not match, the login is unsuccessful and the message displayed should be: Login failed
Step by step
Solved in 3 steps
Your answer could not be processed because it contains errors:
i tried that code to but is not working and showing me this
Your answer could not be processed because it contains errors:
Your answer could not be processed because it contains errors: