Question: 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.
 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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!