C Program To Calculate Area of a Triangle using Pointers
Satish B
https://technotip.com/7997/c-program-to-calculate-area-of-a-triangle-using-pointers/
Lets write a C program to calculate area of a Triangle when their sides are input by the user. Lets use pointers and functions.
Problem Statement If the lengths of the sides of a Triangle are denoted by a, b and c, then area of Triangle is given by:
area = sqrt( S * (S – a) * (S – b) * (S – c) );
where, S = (a + b + c) / 2. Write a function to calculate the area of the Triangle.
Here S is semi-perimeter of the Triangle.
C Programming Interview / Viva Q&A List https://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert https://technotip.com/6086/c-programming-beginner-to-advance-to-expert/ ... https://www.youtube.com/watch?v=cfQhWAoP6u8
19691430 Bytes