+ 1

Write a program to calculate the area of a triangle using Heron's formula.

Area of a triangle

2nd Feb 2018, 6:31 AM
Prabjeet Singh
4 Respuestas
+ 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
2nd Feb 2018, 8:13 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 1
c# just?
2nd Feb 2018, 6:34 AM
Abdurrahman Abulgasim
Abdurrahman Abulgasim - avatar
2nd Feb 2018, 6:42 AM
Abdurrahman Abulgasim
Abdurrahman Abulgasim - avatar
+ 1
it is easy and straight forward I hope this what you mean
2nd Feb 2018, 6:43 AM
Abdurrahman Abulgasim
Abdurrahman Abulgasim - avatar