Exemple #1
0
        public void ShowEverything()
        {
            AcceptValues();

            WriteLine($"The area of the Triangle is {area}");

            SquarRt();

            WriteLine($"The square root of the Triangle is {squareRtValue}");
            ReadKey();

            b.Thanks();
        }
Exemple #2
0
        public void SquareVal()
        {
            //needs to accept 2 values
            AcceptValues();

            WriteLine($"The area of the Square is {area}");

            SquarRt();

            WriteLine($"The square root of the Square is {squareRtValue}");
            ReadKey();

            b.Thanks();
        }