technotip.com/...
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
technotip.com/...
C Programming: Beginner To Advance To Expert
technotip.com/...
Негізгі бет C Program To Calculate Area of a Triangle using Pointers
No video
Пікірлер: 7