Question: Visual basic in visual studio Write a VB program that calculates the area of a given pentagon. (x1, y1) (x2,y2) (x3, y3) (x4,74) (x2,y5) The
Visual basic in visual studio

Write a VB program that calculates the area of a given pentagon. (x1, y1) (x2,y2) (x3, y3) (x4,74) (x2,y5) The coordinates of the 5 vertexes are entered in textboxes. When the button "Calculate" is clicked, the program calculates and displays the area of the pentagon in a message box. Test your program with the following vertexes:..(0,4),(-4,1),(4,1), (-3,-3.5), (3,-3.5) [Hint: Use Heron's formula to find the area of a triangle, given the three sides of it.] Write a VB program that calculates the area of a given pentagon. (x1, y1) (x2,y2) (x3, y3) (x4,74) (x2,y5) The coordinates of the 5 vertexes are entered in textboxes. When the button "Calculate" is clicked, the program calculates and displays the area of the pentagon in a message box. Test your program with the following vertexes:..(0,4),(-4,1),(4,1), (-3,-3.5), (3,-3.5) [Hint: Use Heron's formula to find the area of a triangle, given the three sides of it.]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
