Exemplo n.º 1
0
 public InterpreterLiczbArabskich()
 {
     interpreterDziesiatek = new InterpreterDziesiatek();
     interpreterJednosci   = new InterpreterJednosci();
     interpreterSetek      = new InterpreterSetek();
     interpreterTysiecy    = new InterpreterTysiecy();
 }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            InterpreterLiczbArabskich liczba = new InterpreterLiczbArabskich();

            while (true)
            {
                string intLa    = Console.ReadLine();
                int    intL     = int.Parse(intLa);
                string rezultat = liczba.Interpretuj(intL);
                Console.WriteLine(rezultat);
            }

            Console.ReadKey();
        }