Question: Lab 01C Rectangle Class Redo the Program 13-4 Rectangle Class exercise to implement in two separate files: The source file of the Program 13-4 can
Lab 01C Rectangle Class
Redo the Program 13-4 Rectangle Class exercise to implement in two separate files:
The source file of the Program 13-4 can be found in the class Github: https://github.com/dvcchern/CS200/blob/master/m01/PR13/Pr13-4.cpp (Links to an external site.)
Rectangle.h - A complete Rectangle Class including both declaration and definition
appRectangle,cpp (do not named as main.cpp)
To Repeat the Program 13-4 Rectangle Class exercise in the Gaddis Textbook (version 1 @ p.732 on 8th ed, or p.742 on 9th ed ) where the class definition and implementation are separated into a different file.
Submit: Rectangle.h, appRectangle,cpp, and test run screenshot.
Test Run
Submit
- class header file: Rectangle.h (or combined with application .cpp)
- test application file: testRectangle,cpp
- Validation test run result
- 0 x CA\Users\tony\Downloads\v\Week01\appRectangle.exe This program will calculate the area of a rectangle. What is the width? 3 What is the length? 4 Here is the rectangle's data: Width: 3 Length: 4 Area: 12 Process returned o (@x0) Press any key to continue. execution time : 4.500 s
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
