Question: using C , create a program. The formula for the area of any triangle is: Area = p s ( s a )( s b
using C , create a program.
The formula for the area of any triangle is:
Area = ps(s a)(s b)(s c) where s=(a+b+c)/2
Given the sides a, b, and c of a triangle determine whether it is a right triangle. Print the sides and the area. A triangle is right triangle if c2 = a2+ b2 where c is the longest side.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
