Given a class Window, with integer data members width, height, xPos, and yPos, write the following two constructors: - a constructor accepting 4 integer arguments: width, height, horizontal position, and vertical position (in that order), that are used to initialize the corresponding members. - a constructor accepting 2 integer arguments: width and height (in that order), that are used to initialize the corresponding members. The xPos and yPos members should be initialized to 0.
Window(int w,int h,int horiz, int vertical)
{
width=w;
height=h;
xPos=horiz;
yPos=vertical;
}
Window(int w,int h)
{
width=w;
height=h;
}