Shape Class

Understand the implementation of a Shape class.

We'll cover the following...

Problem

Write a program to create a class called Shape that can calculate the perimeter/circumference and area of a regular shape. The class should also have a provision to accept the data relevant to the shape.

Access this course and 1400+ top-rated courses and projects.