Advertisement
Kuncavia

EqualWords

Sep 14th, 2016
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.56 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 _06.Equal_Words
  8. {
  9.     class EqualWords
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             string A = Console.ReadLine();
  14.             string fraze = Console.ReadLine();
  15.             string lowerA = A.ToLower();
  16.             string lowerfraze = fraze.ToLower();
  17.             if (lowerA.Equals(lowerfraze))
  18.             { Console.WriteLine("yes"); }
  19.             else { Console.WriteLine("no"); }
  20.         }
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement