Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace SameWords
- {
- class SameWords
- {
- static void Main(string[] args)
- {
- string wordOne = Console.ReadLine();
- string wordTwo = Console.ReadLine();
- wordOne = wordOne.ToLower();
- wordTwo = wordTwo.ToLower();
- if (wordOne == wordTwo)
- {
- Console.WriteLine("yes");
- }
- else if (wordOne != wordTwo)
- {
- Console.WriteLine("no");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment