38 lines
752 B
Groff
38 lines
752 B
Groff
import java.util.Scanner;
|
|
public class Main
|
|
{
|
|
public static void main(String[] args) {
|
|
System.out.println("Insert password:");
|
|
Scanner scanner = new Scanner(System.in);
|
|
String pass = scanner.nextLine();
|
|
if (pass.equals("1234")) {
|
|
System.out.println("Insert op code: ");
|
|
|
|
System.out.println("(1) General");
|
|
System.out.println("(2) Encrypted");
|
|
|
|
|
|
int op = scanner.nextInt();
|
|
|
|
if (op == 1) {
|
|
System.out.println("");
|
|
|
|
|
|
|
|
} else {
|
|
if (op == 2) {
|
|
System.out.println("");
|
|
|
|
}
|
|
}
|
|
|
|
|
|
} else {
|
|
System.out.println("wrong password 🛑");
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|