answersLogoWhite

0


Best Answer

find the area of abc a[2,3] c[6,0]

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

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

How do you find area of a triangle given its 3 sides in c program?

#include<stdio.h> #include<math.h> main() { float A,a,b,c,s; printf("entr the value of a,b and c"); scanf("%f %f %f",&a,&b,&c); A=sqrt(s*s-a*s-b*s-c) printf("area of the triangle %f\n"A); getch(); }


C program to find area and perimeter of triangle?

To find the area and perimeter of a triangle in a C program, you would first need to input the three sides of the triangle. Then, you can calculate the perimeter by adding the three sides together. Next, you can calculate the semi-perimeter by dividing the perimeter by 2. Finally, you can use Heron's formula to calculate the area of the triangle using the semi-perimeter and the three sides. The C program would involve taking user input, performing the necessary calculations, and outputting the results.


Write a c program to find Volume and surface area of cube?

Write a c program to compute the surface area and volume of a cube


How do you find the area of a triangle by Heron's formula?

For finding the area of triangle with the help of Heron's formula: [s(s-a)(s-b)(s-c)]1/2 where a,b,c are sides of the triangle and s=1/2 of perimeter of the triangle


How do you find the area of a triangle using sine?

If you know the lengths of two sides, a and b, and the included angle, C, then area = 0.5*a*b*sin(C)


How do you find the area of a obtuse triangle?

Area = 1/2*a*b*SineC where a and b are the lengths and C is the angle between them. The above formula holds true for any triangle.


How do you find the area and perimeter of a triangle?

Area:A=1/2bhA=Area b=Base h=HeightPerimeter:P=a+b+cP=Perimeter a,b,c=side lengths of the triangle


How do you write a program to find the area of a triangle?

The area of a triangle is one half base times height, so you would write a program to input the base and height, giving the option to stop, calculating and printing the area, and then looping to repeat as desired.


When heron formula was invented?

Heron, or sometimes called as Hero, invented the formula. The formula was used to find the area of a scalene triangle or an SSS triangle. The formula states for a triangle with sides a, b and c, the area can be calculated like this,K=sqrt(s(s-a)(s-b)(s-c)), where K is the area and s is the semiperimeter of a triangle i.e. s=(a+b+c)/2.


Given triangle ABC with a equals 15 b equals 21 and c equals 34 find the area of the triangle Round your answer to the nearest tenth?

The area is 99.0 square units.


How do you find the area of an equalateral triangle?

Do you mean an equilateral triangle? Then if so then the formula for the area of any triangle: 0.5*a*b*sinC whereas a and b are the embraced sides of angle C And in the case of an equilateral triangle it is: 0.5*any side squared*sin(60 degrees) Alternatively use Pythagoras' theorem to find the altitude of the triangle then use: 0.5*base*height = area


How do you write a c plus plus program to find area of a triangle?

If you want to use object oriented approach, create a class with the details of triangles as it's data members and area function as member or friend function. formula: 1. area= height*base/2 2. area= square-root(s*(s-a)*(s-b)*(s-c)) where 2s=a+b+c