fork download
  1. namespace Problem_5.Foreign_Languages
  2. {
  3. using System;
  4.  
  5. public class Program
  6. {
  7. public static void Main()
  8. {
  9. var country = Console.ReadLine();
  10.  
  11. if (country == "England" || country == "USA")
  12. {
  13. Console.WriteLine("English");
  14. }
  15.  
  16. else if (country == "Spain" || country == "Argentina" || country == "Mexico")
  17. {
  18. Console.WriteLine("Spanish");
  19. }
  20.  
  21. else
  22. {
  23. Console.WriteLine("unknown");
  24. }
  25. }
  26. }
  27. }
Success #stdin #stdout 0.01s 131648KB
stdin
Standard input is empty
stdout
unknown