Determine Whether a Point is Within a Rectangle
Design and implement a solution using object-oriented principles to determine whether a given point lies within the boundaries of a rectangle. Consider edge cases such as points on the boundary and varying rectangle orientations.
Asked at:
Microsoft