C Program To Calculate Area of a Triangle using Pointers

preview_player
Показать описание

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

C Programming: Beginner To Advance To Expert
Рекомендации по теме
Комментарии
Автор

Hello bro...I m really loving ur vidoes ...plzz upload the videos little faster😅

rishabhjhafreestyler
Автор

u changed ur channel name... congrats.. but i feel that was more close or connect to the tropic of the channel..!!

nbk