nvnnaidenov

EqualWords - Chapter 3.0

Feb 10th, 2022
751
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.39 KB | None | 0 0
  1. //Task 011, Chapter 3.0
  2. using System;
  3.  
  4. public class EqualWords
  5. {
  6.     static void Main()
  7.     {
  8.         string firstWord = Console.ReadLine().ToLower();
  9.         string secondWord = Console.ReadLine().ToLower();
  10.  
  11.         if(firstWord == secondWord)
  12.         {
  13.             Console.WriteLine("yes");
  14.         }
  15.         else
  16.         {
  17.             Console.WriteLine("no");
  18.         }
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment