finds perimeter of a polygon in java. User adds points from keyboard
Finds the perimeter of a n-sides polygon. The user defines the number of points of the polygon, and then adds the points from keyboard.
The user must add the points in either a clockwise, or a counter-clockwise manner. A mixed approach is not supported.