The program to compute the area and perimeter of an arbitrary triangle using the formula:

Area=sqrt[(s)*(s-a)*(s-b)*(s-c)]

where a,band c are lengths of sides ands is the semi perimeter.

s=(a+b+c)/2.

I m making a lot of errors where i dont know what to do.