Tue Jan 31 2023 19:25:37 GMT+0000 (Coordinated Universal Time)
Saved by @Batmansbitch79
String password = "let me in"; Scanner scanner = new Scanner(System.in); String guess; do { System.out.println("Guess the password:"); guess = scanner.nextLine(); }while(!guess.equals(password);
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments