Menu

Logical Operators - Spot the Bug

Each program has one mistake. Tap the line where the mistake is, then choose the change to that line that makes the program work.

Program 1 of 34
1. Print Access granted when the username is admin and the password is secret, otherwise print Access denied.
When the input is
admin
letmein
it should print
Access denied

Step 1: tap the line where the mistake is.

Log in or sign-up to find the bugs



Don't have a login?

You can still revise this topic