Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago