grach

EqualWords

Jul 11th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.51 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Equal_Words
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.  
  14.             string a = Console.ReadLine();
  15.             string b = Console.ReadLine();
  16.  
  17.            
  18.             if (a.ToLower() == b.ToLower() )
  19.             {
  20.                 Console.WriteLine("yes");
  21.             }
  22.  
  23.             else Console.WriteLine("no");
  24.  
  25.         }
  26.     }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment