you are reuired to write two functions which,given two values for the width and height of rectsangle ,would output the area and perimeter of the rectangle.Hοwever,depending on whether the width and hight are egual or not ,different massages should be displayed indicating whether it is a rectangle or a sguere.
simple, calculate the area and perimeter the same and have an if to check equality of width and height (if equal cout<<"Square"; if unequal cout<<"Rectangle";) hope it helps