SHARE
TWEET

EqualWords

a guest Apr 25th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3. namespace EqualWords
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             string firstWord = Console.ReadLine();
  10.             string secondWord = Console.ReadLine();
  11.  
  12.             firstWord = firstWord. ToUpper();
  13.             secondWord = secondWord. ToUpper();
  14.  
  15.             if (firstWord == secondWord)
  16.             {
  17.                 Console.WriteLine("yes");
  18.  
  19.             }
  20.            else
  21.             {
  22.                
  23.                  Console.WriteLine("no");
  24.             }
  25.     }   }
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top