Question: write using c++ Rectangle is a shape, a customer wants you to make a program which shows length and width and calculates perimeter and Area

 write using c++ Rectangle is a shape, a customer wants you write using c++

Rectangle is a shape, a customer wants you to make a program which shows length and width and calculates perimeter and Area of Rectangle. Note: Each Task should be separately identifiable Area- Length* Width Perimeter = 2* (Length + Width) i) Task 1: Write a class named Rectangle containing data members and member functions as required by the customer. The class must have a default constructor, overload constructor, getters and setters, with functions to calculate area and perimeter ii) Task 2: Implement all the functions as per the customer requirement iii)Task 3: Create two objects of the Rectangle class and pass values to it. Call the functions to calculate area and perimeter by using the values of length and width

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!