c programming exercise

  

Learning Goal: I’m working on a c programming exercise and need an explanation and answer to help me learn. Use C programming language to solve the following problems: Define a Rectangle class with attributes length and width, with a defaults value equal to 1, and member functions to calculate the perimeter and the area of the rectangle. The class should provide set and get functions for the length and width attributes. The length and width should be floating-point numbers between 0.0 and 20.0.Requirements: 1 page

Don’t use plagiarized sources. Get Your Custom Essay on
c programming exercise
Just from $13/Page