There are different formulae depending on what is known about the triangle:
A single algorithm to cover all these will be too complicated.
Area of any triangle: 0.5*base*perpendicular height
Write an algorithm to find the root of quadratic equation
10001/999900
1. Start 2. Input the the value of radius R 3. Let PI=3.14 4. Calculate area=PI*R*R 5. Print area 6.End
The area of triangle is : 24.0
Area of any triangle: 0.5*base*perpendicular height
write an algorithm and draw a flow chart to find perimeter of a square
Here is the algorithm of the algorithm to write an algorithm to access a pointer in a variable. Algorithmically.name_of_the_structure dot name_of_the _field,eg:mystruct.pointerfield
{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 an algorithm to find the root of quadratic equation
a write the algorithm to concatenate two given string
That's correct!
area = base * height / 2;
to find area and perimeter of a rectangle
10001/999900
start read pie area circum print area print circum stop
Write the question out properly Write the question out properly