Advertisement
Guest User

Equal Pairs

a guest
Nov 2nd, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.38 KB | None | 0 0
  1. using System;
  2.  
  3. class EqualPairs
  4. {
  5.     static void Main(string[] args)
  6.     {
  7.         string firstWord = Console.ReadLine().ToLower();
  8.         string secondWord = Console.ReadLine().ToLower();
  9.  
  10.         if (firstWord == secondWord)
  11.         {
  12.             Console.WriteLine("yes");
  13.         }
  14.         else
  15.         {
  16.             Console.WriteLine("no");
  17.         }
  18.  
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement