public void ShowResult()
        {
            Console.WriteLine("In octal: " + octNumber);
            Console.WriteLine("In decimal: " + octalToDecimal());
            string        Result = octalToDecimal();
            DecimalSystem dec    = new DecimalSystem(Result);

            Console.WriteLine(dec.DecimalToBinary());
            Console.WriteLine(dec.DecimalToHex());
        }
Ejemplo n.º 2
0
        public void ShowResult()
        {
            Console.WriteLine("In hexadecimal: " + hexNumber);
            Console.WriteLine("In decimal: " + HexToDec());
            double        result        = HexToDec();
            DecimalSystem decimalSystem = new DecimalSystem(result.ToString());

            Console.WriteLine(decimalSystem.DecimalToBinary());
            Console.WriteLine(decimalSystem.DecimalToOctal());
        }