Introduction - If you have any usage issues, please Google them yourself
In an n-gon, all sides are the same length, and all have the same degree. RegularPolygon design a class that requires regular polygon can calculate the area and perimeter. Requirements draw UML class diagram and implement this class. Write a test program, were tested equilateral triangle, pentagon, hexagon area and perimeter.