// Fluttershy :3 // using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HelloWorld { class Program { static void Main(string[] args) { Console.Write("Hа какое число: "); int n = int.Parse(Console.ReadLine()); Console.WriteLine("[a, b]: "); Console.Write("[a]: "); int min = int.Parse(Console.ReadLine()); Console.Write("[b]: "); int max = int.Parse(Console.ReadLine()); List cr = new List(); for (int i = min; i <= max; i++) if (i % n == 0) cr.Add(i); Console.Write("ARRAY: "); foreach (int b in cr) Console.Write(b + " "); Console.ReadKey(); } } }