Write a program using` the class as defined below. Put the class definition in a separate header file, and put all the functions' code in a separate Resource file. Then write the main program in another file. that will read in some numbers and test out whether your functions all work.
As you can surmise from the names, the class has two constructors (test both of them), and it has two accessor functions (test both of them), and a function to calculate the perimeter of the quadrilateral. You can think of a quadrilateral as having at most only two distinct values for its sides (a rectangle, say). The friend function is to allow comparison of the perimeters of two quadrilaterals. Test out this function too. Keep the class definition as it is written here.
#include
using namespace std;
class Quadrilateral
{
public:
Quadrilateral();
Quadrilateral(int sl, int s2);
void Perim();
int GetSide1();
int GetSide2();
friend char Compare(Quadrilateral shl, Quadrilateral sh2);
int p;
int sidel, side2;
After your program is debugged and you have checked the results by hand, send in three WordPad files having your three parts to the program.