Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a Program in Visual Basic.NET For the Following: A. You are asked to develop an error free VB.Net application that can calculate the area

Create a Program in Visual Basic.NET For the Following:
A. You are asked to develop an error free VB.Net application that can calculate the area and perimeter of three given points (see Figure 4-1). Figure 4-2 shows an example form for the application. The form, when activated, allows users to enter x1, y1, x2, y2, x3, and y3. Then the users can click the Calculate button. The area and perimeter enclosed by the three given points will be calculated and displayed at the Area and Perimeter textboxes. When users click the Clear button, the textboxes will be empty. When users click the Cancel button, the program terminates normally.
B. Write and Draw the Flow Chart for The Program As well.
image text in transcribed
image text in transcribed
x1, y1 x3, y3 x2, y2 D = Vxl x2 +1 y1 - y21? The formula used to calculate the area of three given points is Area = 0.5 * |(x2y3 - y2*x3) + (x1*y2-yl*x2)+(y1*x3 - xl*y3) Or Heron's formula: S = s(s - a)(s - b)(s-C) Where s = (a + b + c) is the semi-perimeter, or one half of the triangle's perimeter. a b C = distance between point (x1,yl) and point (x2, y2) = distance between point (x2,y2) and point (x3, y3) = distance between point (x1,yl) and point (x3, y3) The distance between two given points can be calculated using the below formula: Three Given Points Project -OX First Point Second Point x1 : x2: y2: yl: Third Point Area: 3: Perimeter y3: Calculate Clear Cancel Figure 4-2 An Example Form for the Project

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Database Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

More Books

Students also viewed these Databases questions

Question

What aspects would it be impossible to capture?

Answered: 1 week ago

Question

Enhance your words with effective presentation aids

Answered: 1 week ago