예제 #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();
        }
예제 #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();
        }