I want to calculate the area of a polygon. I am assuming the polygon is in the first quadrant.So the coordinates of all the vertices are positive.The number of
vertices is to be supplied by the end user.The values for the coordinates are also to be supplied by the user.( I guess we could use a prompt box/text box....I dunno)The vertices are to be read in a clockwise direction.How do I accept the inputs (in this case the vertices of the polygon in (x,y) fashion and also the number of vertices, a positive integer greater than 2)and store them in variables and loop them to calcluate the area? I do not need any graphical output whatsoever. Just the area.Also I need the solution as soon as possible.