Explore BrainMass

C++ Programming

Suppose a, b, and c denote the lengths of the sides of a triangle. Then the area of the triangle can be calculated using the formula:
&#8730;s(s - a)(s - b)(s - c),

where s = (1/2)(a + b + c). Design an algorithm that uses this formula to find the area of a triangle. What information do you need to find the area?

Solution Preview

int main()
//Fetch the values of a, b and c (Only this information is ...

Solution Summary

C++ Programming is emphasized.