Help with this program

I need help with creating this program. This is my first and last programing class.

1) Create a class called Rectangle.

It should have values for length and width and getter and setter functions

The class must be able to calculate its own perimeter and area.

It should have the default constructor and one that sets both lenght and width.

2) You must declare a variable of type rectangle. With the length and width set call the perimeter and area function and display them on the screen

3) Create an array of 10 rectangles and read in the values from a file and output their length width, erimeter & area.
Topic archived. No new replies allowed.