Question: C++ programming language States (45 pts) Work Programming Exercise 9.1 (class Rectangle) in the textbook on page 367. Additional specifications Use separate header and implementation

C++ programming language  C++ programming language States (45 pts) Work Programming Exercise 9.1 (class
Rectangle) in the textbook on page 367. Additional specifications Use separate header

States (45 pts) Work Programming Exercise 9.1 (class Rectangle) in the textbook on page 367. Additional specifications Use separate header and implementation files. The main program (not the functions) should display the values of perimeter and area after calling the functions The problem refers to accessor (get) and mutator (set) functions for all the data fields. This means the following functions should be included o getHeight(); o getWidth(); o setHeight(); o setMidth(); Run the main program for two cases (each case has two rectangle): 1) Text example 4, H-40 for the first rectangle. W 3.5, H 35.9 for the second rectangle) 2) An additional example of your choice. The program output should include the length, width, area, and perimeter. Turn in printouts of o The main function o The class implementation file o The class header file o The results from running the program three times. o The class diagram (UML diagram) you may want to create this in Word or Excel

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!