Compare commits
No commits in common. '4531eddbe9b55e1fecc8ab8aa093df5da57c1d47' and '514a7132cf03179fdae551892e744bf2255346cf' have entirely different histories.
4531eddbe9
...
514a7132cf
@ -1,16 +0,0 @@ |
||||
import java.util.Scanner; |
||||
|
||||
public class Main { |
||||
public static void main(String[] args) { |
||||
Scanner sc = new Scanner(System.in); |
||||
|
||||
String SecretLogin = "admin"; |
||||
String SecretPassword = "ASSWORD"; |
||||
|
||||
String login = sc.nextLine(); |
||||
String password = sc.nextLine(); |
||||
if (SecretLogin.equals(login) && SecretPassword.equals(password)) |
||||
System.out.println("You in"); |
||||
else System.out.println("Try again"); |
||||
} |
||||
} |
||||
Loading…
Reference in new issue