i have been asked to write a program that compute the area of a triangle using the formula
Area=sqrt(s*(s-a)*(a-b)*(s-c))
where a,b,c, are the lengths of sides and 's' is the is the semi perimeter.

s=(a+b+c)/2 and to compute that perimeter.

do u want the full code in C++?

What have you gotten so far, or have you tried to write any code?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.