Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- /*
- * Created by todor on 18.01.2017 г..
- */
- public class u11_EqualWords {
- public static void main(String[] args) {
- Scanner scan = new Scanner(System.in);
- String word1 = scan.nextLine().toLowerCase();
- String word2 = scan.nextLine().toLowerCase();
- if (word1.equals(word2)){
- System.out.println("yes");
- }
- else {
- System.out.println("no");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement