InConsulting Interview Question

Problem solving : How do you identify if any given point lies within a rectangle