...
/Challenge 1: Calculating Perimeter and Area of a Rectangle
Challenge 1: Calculating Perimeter and Area of a Rectangle
In this lesson, you will solve a challenge to test your understanding of classes.
We'll cover the following...
Problem Statement
Write a Rectangle
class having two float
type variables for length
and height
, a parametrized constructor and two member functions called perimeter
and area
...