Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I\'m trying to get my program running, but having some issues. I have the descri

ID: 662835 • Letter: I

Question

I'm trying to get my program running, but having some issues. I have the description of what I'm doing, plus I have my code in links below the description.

Carpet Calculator. This problem starts with the FeetInches class that is provided in the course Content area on the assignment page for this week. This program will show how classes will interact with each other as data members within another class. Modify the FeetInches class by overloading the following operators which should all return a bool.

<=

>=

!=

Next add a copy constructor to the FeetInches class and a multiply function.

The copy constructor should accept a FeetInches object as an argument. It will assign the feet attribute the value in the argument

Explanation / Answer

Your code is almost complete.

You just need to add the below includes to main.cpp to run the program.

#include "FeetInches.cpp"

#include "RoomCarpet.cpp"

Note: I have using CodeBlocks IDE with gcc compiler and it works fine