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