answersLogoWhite

0


Best Answer

Private Sub Command 1_click( )

Dim A , B As String

Dim C As Integer

A = Text1.Text

B = Text2.Text

C = Val(A) * Val(B)

Text3.Text = " "

Text3.Text = C

End Sub

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a vb program to calculate the area of an triangle?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write an algorithm to calculate the area of a triangle?

Area of any triangle: 0.5*base*perpendicular height


Program to calculate area of triangle?

You don't need a program; the formula is b*h/2.


Write a pascal program that compute an area of a triangle?

{A program to compute the area of a triangle} {by Ogboin W. Meshach} Var; b,h:real; BEGIN Writeln('Triangle'); Write('Base: '); Readln(base); Write('Height: '); Readln(height); area:=0.5*base*height; Writeln('Area: ', area :0:2); End.


Write a menu driven program in java to find area of different shapes. 1. Circle 2. Triangle 3. Rectangle?

Remember that the area of a rectangle is width * height: static int getArea(Rectangle r) { return r.width * r.height; }


How do you write a qbasic program to find area and circumerence of a circle?

Write a program that calculates the area of a triangle in QBASIC


Write a program to calculate area of triangle and check whether entered sides can make triangle or not..?

#include <stdio.h> main() { int r,b,h; printf("Enter the value of Base and Hight"); scanf("%d%d",&b,&h); r = ((b*h)/2); printf("Area of Triangle=%d",r); }


How do you find the area of a rectangle with a triangle attached to the side?

you split your shape in half, (The rectangle and the triangle), by putting a line through it and then calculate the area of the rectangle and then calculate the area of the triangle, half the area of the triangle then add the area of the triangle and the rectangle together!Then you should have your answer!


Write a program to calculate the area of a cylinder using a function?

give an example of calculation of mathematics


How do you write and simplify an expression of a right triangle base20 height x-6?

26


What is the area of a triangle that has a perimeter of 37?

The perimeter of a triangle does not provide sufficient information to calculate its area.


What is the area of a triangle that is 8ft?

There is insufficient information to calculate the area.


How does one calculate the area of a triangle?

The area of a triangle can be calculated with one main formula. That is, A=(b*h)/2, where A is the area of the triangle, b is the base of the triangle, and h is the height of the triangle.