Advertisement
YavorGrancharov

Foreign_Languages

May 26th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.71 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Foreign_Languages
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             string country = Console.ReadLine();
  14.  
  15.             if(country.Equals("England") || country.Equals("USA"))
  16.             {
  17.                 Console.WriteLine("English");
  18.             }
  19.             else if(country.Equals("Spain") || country.Equals("Argentina") || country.Equals("Mexico"))
  20.             {
  21.                 Console.WriteLine("Spanish");
  22.             }
  23.             else
  24.             {
  25.                 Console.WriteLine("unknown");
  26.             }
  27.         }
  28.     }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement