Question: Write a C++ program using 1 or more classes that will calculate and display the areas and perimeters of the regular polygons (congruent sides and
Write a C++ program using 1 or more classes that will calculate and display the areas and perimeters of the regular polygons (congruent sides and interior angles) listed below. Allow side lengths to be specified as positive floating point numbers. Be sure to write a thorough test program. (You mayinclude all code in one file, instead of having a header file and separate implementation files.
equilateral triangle
square
regular pentagon
regular hexagon
regular heptagon
regular octagon
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
