# C++ Programming

Not what you're looking for? Search our solutions OR ask your own Custom question.

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:

âˆš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?

Â© BrainMass Inc. brainmass.com December 24, 2021, 5:09 pm ad1c9bdddfhttps://brainmass.com/computer-science/cpp/c-plus-plus-programming-example-problem-31853

#### Solution Preview

int main()

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

#### Solution Summary

C++ Programming is emphasized in this solution.

$2.49