anizko

06. Foreign Languages

May 18th, 2019
122
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 _6.Foreign_Languages
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             string Country = Console.ReadLine();
  14.  
  15.             if(Country== "England"|| Country == "USA")
  16.             {
  17.                 Console.WriteLine("English");
  18.             }
  19.             else if(Country == "Spain" || Country == "Argentina" || Country == "Mexico")
  20.             {
  21.                 Console.WriteLine("Spanish");
  22.             }
  23.             else
  24.             {
  25.                 Console.WriteLine("unknown");
  26.                
  27.             }
  28.  
  29.  
  30.         }
  31.     }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment