﻿// Copyright (c) 2018 Nikolay Zahariev <zahasoft.com>. Licensed under the MIT License.

namespace Zahasoft.Softuni
{
    using System;

    public class Circle
    {
        readonly double radius;

        public Circle(double radius)
        {
            this.radius = radius;
        }

        public double CalculatePerimeter() => 2 * Math.PI * radius;
        public double CalculateArea() => Math.PI * Math.Pow(radius, 2);
    }
}
