bacco

Еднакви думи

Jan 20th, 2018
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.47 KB | None | 0 0
  1. using System;
  2.  
  3. namespace tESt
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.  
  10.             string wordOne = Console.ReadLine();
  11.             string wordTwo = Console.ReadLine();
  12.  
  13.             if ((wordOne = wordOne.ToLower()) == (wordTwo = wordTwo.ToLower()))
  14.             {
  15.                 Console.WriteLine("yes");
  16.             }
  17.             else
  18.                 Console.WriteLine("no");
  19.            
  20.         }
  21.  
  22.  
  23.     }
  24.    
  25. }
Add Comment
Please, Sign In to add comment