Advertisement
dbunalov

SameWords

Jun 27th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.43 KB | None | 0 0
  1. using System;
  2.  
  3. namespace _12.SameWords
  4. {
  5.     class SameWords
  6.     {
  7.         static void Main()
  8.         {
  9.             var word1 = Console.ReadLine().ToLower();
  10.             var word2 = Console.ReadLine().ToLower();
  11.  
  12.             if (word1 == word2)
  13.             {
  14.                 Console.WriteLine("yes");
  15.             }
  16.             else
  17.             {
  18.                 Console.WriteLine("no");
  19.             }
  20.         }
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement