Explore BrainMass

Explore BrainMass

    C++ Programming

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    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 March 4, 2021, 6:09 pm ad1c9bdddf

    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.