A polygon is convex if it contains any line segments that connects two points of the polygon.

Question:

A polygon is convex if it contains any line segments that connects two points of the polygon. Write a program that prompts the user to enter the number of points in a convex polygon, then enter the points clockwise, and display the area of the polygon. Here is a sample run of the program:image

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: