Exemple #1
0
        static void Main(string[] args)
        {
            Matematika darbibas = new Matematika();
            Uzdevumi   uzd      = new Uzdevumi();
            Pokemoni   uzdevums = new Pokemoni();

            uzd.Izsauc();

            Console.ReadLine();
        }
Exemple #2
0
        private void Uzdevums21()
        {
            Console.WriteLine("Ievadied pirmo ciparu");
            String pirmaisCipars = Console.ReadLine();
            double pirmais       = Convert.ToDouble(pirmaisCipars);

            Console.WriteLine("Ievadied otro ciparu");
            String otraisCipars = Console.ReadLine();
            double otrais       = Convert.ToDouble(otraisCipars);

            Matematika objekts = new Matematika();

            double rezinat = objekts.Saskaitit(pirmais, otrais);

            Console.WriteLine(rezinat);

            Console.ReadLine();
        }