ФІО = Андрусенко Запитання:Описати масив, заповнити його елементи факторыалом номеру елементу ==================================== ANSWER ==================================== using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication12 { class Program { static double fact(int x) { double rez=1; if (x<1) return 1; for (double i=1; i <=x ; i++) { rez*=i; } return rez; } static void Main(string[] args) { const int max = 10; double[] mas = new double[max]; for (int i = 1; i < max; i++) { mas[i] = fact(i); Console.WriteLine("mas[{0}] = {1}",i,mas[i]); } Console.ReadKey(); } } } END of ANSWER ====================================