+ 1
Write a program to calculate the area of a triangle using Heron's formula.
Area of a triangle
4 Answers
+ 14
take 3 double or int values as input...a,b,c
double s=(a+b+c)/3
print s*(s-a)*(s-b)*(s-c)
//try making yourself , show the code u made
+ 1
c# just?
+ 1
it is easy and straight forward
I hope this what you mean