D
David
Don't know where to start
Problem:
Create a class Rectangle The class has attributes length and width, each of
which defaults to 1. It has member functions that calculate the perimeter
and the area of the rectangle. It has set and get function for both length
and width. The set functions should verify that length and width are each
floating point numbers larger than 0.0 and less than 20.0
Problem:
Create a class Rectangle The class has attributes length and width, each of
which defaults to 1. It has member functions that calculate the perimeter
and the area of the rectangle. It has set and get function for both length
and width. The set functions should verify that length and width are each
floating point numbers larger than 0.0 and less than 20.0