Problem statement :
"In 2-D co-ordinate system, to determine whether a given trial point is inside or outside a given polygon -- the polygon may be concave or convex"

Input :
1. The no. of vertices.
2. The vertices.
3. The trial point.

Output :


I thought i'd try it out with graphics - it worked, but it was too compiler specific for me to try and accept it. could any of you propose a more general solution.