Home /
Expert Answers /
Computer Science /
area-of-a-convex-polygon-a-polygon-is-convex-if-it-contains-any-line-segment-that-connects-two-po-pa776
(Solved): (Area of a convex polygon) A polygon is convex if it contains any line segment that connects two po ...
(Area of a convex polygon) A polygon is convex if it contains any line segment 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. Sample Run Enter the number of points: 7 Enter the coordinates of the points: \( -120-8.510011 .45 .57 .86-5.50-7-3.5-5.5 \) The total area is \( 244.575 \) Class Name: Exercise11_15 If you get a logical or runtime error, please refer https:// liveexample.pearsoncmg.com/faq.html.