Exemplo n.º 1
0
        void Run()
        {
            Console.WriteLine("Számlaszám:");
            string  accnbr = Console.ReadLine();
            CDV_GEN cdv    = new CDV_GEN();

            cdv.generateCDV(accnbr);

            Console.WriteLine("Round -> " + cdv.round);
            Console.WriteLine("SUM -> " + cdv.sum);
            Console.WriteLine("CDV IS---> " + cdv.cdv);

            Console.ReadKey();
        }
Exemplo n.º 2
0
        void Run()
        {
            Console.WriteLine("Számlaszám:");
            Console.ReadLine("Számlaszám:");
            CDV_GEN cdv = new CDV_GEN()
                          Console.WriteLine("Round -> " + round);

            round = Round(sum);
            cdv   = Math.Abs(round - sum);
            Console.WriteLine(sum);
            Console.WriteLine(round);
            Console.WriteLine("CDV IS---> " + cdv);

            Console.ReadKey();
        }
Exemplo n.º 3
0
        void Run()
        {
            Console.WriteLine("Számlaszám:");
            string  accnbr = Console.ReadLine();
            CDV_GEN cdv    = new CDV_GEN();

            cdv.generateCDV(accnbr);



            Console.WriteLine("Round -> " + round);
            round = Round(sum);
            cdv   = Math.Abs(round - sum);
            Console.WriteLine(sum);
            Console.WriteLine(round);
            Console.WriteLine("CDV IS---> " + cdv);

            Console.ReadKey();
        }
Exemplo n.º 4
0
        void Run()
        {
            Console.WriteLine("Számlaszám:");
            string  accnbr = Console.ReadLine();
            CDV_GEN cdv    = new CDV_GEN();

            if (!cdv.generateCDV(accnbr))
            {
                Console.WriteLine("Invalid input!");
                Console.ReadLine();
                return;
            }



            Console.WriteLine("Round -> " + cdv.round);
            Console.WriteLine("SUM -> " + cdv.sum);
            Console.WriteLine("CDV IS---> " + cdv.cdv);

            Console.ReadKey();
        }
Exemplo n.º 5
0
 public void ShouldReturnValidCDV()
 {
     OTP_CDV.CDV_GEN cdv = new OTP_CDV.CDV_GEN();
 }