Lets write a C program to calculate area of a Triangle when their sides are input by the user. Lets…