C program to find area and perimeter of triangle
Sign up to join our community!
Please sign in to your account!
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What is the perimmeter of the triangle
#include
#include
void main()
{
int a,b,c:
float s,A,x=1/2;
clrscr();
printf(” three sides of a trianglen”);
scanf(“%d %d %d”,&a,&b,&c);
s=(a+b+c)/2;
A=pow((s(s-a)(s-b))(s-c)),x);
printf(“AREA OF TRIANGLE:%dn”‘A);
gech();
}