Skip to content
CampusEduX

Login Check with &&

Easyjava
Learn the Concept: Logical Operators

Access is granted only if both the username and the password match the expected values.

Input: four lines — expected username, expected password, entered username, entered password.

Output: one line — Access granted or Access denied.

Related Problems

Input (stdin)

Output

Run your code to see output here...