Exercise C(e) | Area of Triangle using Functions with Pointers
Duration: 9:50 Min | Sep 03, 2023
Let us C Solutions of Chapter 9 Pointers of Exercise C (e): If the lengths of the sides of a triangle are denoted by a, b, c, then area of triangle is given by area = √(S(S-a)(S-b)(S-c)) Where, S = (a+b+c)/2. Write a function to calculate the area of the triangle.