Exemple #1
0
        static void Main(string[] args)
        {
            Confer    t  = new Confer();
            Invol     t1 = new Invol();
            Scientist t2 = new Scientist();
            int       k  = 0;

            Console.Write("Введите количество конференций: ");
            int n = int.Parse(Console.ReadLine());

            while (k < n)
            {
                Confer.Con();

                Console.Write("Введите количество участников: ");
                int n1 = int.Parse(Console.ReadLine());
                int k1 = 0;

                while (k1 < n1)
                {
                    Invol.inv();
                    Scientist.scien();
                    k1++;
                }
                k++;
            }
            Console.ReadKey();
        }
Exemple #2
0
        static public void inv()
        {
            Console.WriteLine(" ");
            Console.Write("Тип участия: ");
            string invo = Console.ReadLine();

            Invol.proverka(invo);

            Console.Write("Тема доклада: ");
            string theme = Console.ReadLine();

            Invol.proverka(theme);

            Console.Write("Публикация(Да-1/Нет-0): ");
            int a = int.Parse(Console.ReadLine());

            string l = (a == 1) ? ("Да") : ("Нет");

            Invol.output(invo, theme, l);
        }