Question: Write a program to create a class called Shape that can calculate the perimeter / circumference and area of a regular shape (Square, Circle). The
Write a program to create a class called Shape that can calculate the perimeter / circumference and area of a regular shape (Square, Circle). The class should also have a provision to accept the data relevant to the shape.
use cpp coding.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
