|  | 
|  | 
| вернуться в форум | C# что не так? using System;using System.Collections.Generic;
 using System.Globalization;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
 
 namespace ConsoleApp9
 {
 class Program
 {
 static void Main(string[] args)
 {
 int a1;
 a1 = Convert.ToInt32(Console.ReadLine());
 if (a1 >= 1 && a1 <= 2000)
 if (a1 >= 1 && a1 <= 4)
 {
 Console.WriteLine("few");
 }
 if (a1 >= 5 && a1 <= 9)
 {
 Console.WriteLine("several");
 }
 if (a1 >= 10 && a1 <= 19)
 {
 Console.WriteLine("pack");
 }
 if (a1 >= 20 && a1 <= 49)
 {
 Console.WriteLine("lots");
 }
 if (a1 >= 50 && a1 <= 99)
 {
 Console.WriteLine("horde");
 }
 if (a1 >= 100 && a1 <= 249)
 {
 Console.WriteLine("thorg");
 }
 if (a1 >= 250 && a1 <= 499)
 {
 Console.WriteLine("swarm");
 }
 if (a1 >= 500 && a1 <= 999)
 {
 Console.WriteLine("zounds");
 }
 if (a1 >= 1000)
 {
 Console.WriteLine("legion");
 }
 return;
 }
 
 }
 }
Re: C# что не так? thorg -> throng | 
 | 
|