Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Mar 28th, 2020 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.util.Scanner;
  2. public class PasswordGuess_06 {
  3.     public static void main(String[] args) {
  4.         Scanner scanner = new Scanner(System.in);
  5.  
  6.  
  7.         String word = scanner.nextLine();
  8.         if (word.equals("s3cr3tIP@ssw0rd")) {
  9.             System.out.println("Welcome");
  10.         } else {
  11.             System.out.println("Wrong password!");
  12.  
  13.  
  14.         }
  15.     }
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top