Im writing a programm where i scan a number n, which is the amount of points this object has. (Twodimensional). Im supposed to calculate its surface.
This is my curre