Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String answer= input.nextLine();
- if (answer.equalsIgnoreCase("yes"))
- {
- Boolean.valueOf(answer);
- System.out.println("YES WTF");
- }
- else if (answer.equalsIgnoreCase("no")) {
- System.out.println("NO WTF");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement