Write a C program to find area of triangle

Write a C program to find area of triangle

#include
#include
#include
int main()
{
   double a, b, c, s, area;
 
   printf("Enter the sides of trianglen");
 
   scanf("%lf%lf%lf",&a,&b,&c);
 
   s = (a+b+c)/2;
 
   area = sqrt(s*(s-a)*(s-b)*(s-c));
 
   printf("Area of triangle = %.2lfn", area);
 
   return 0;
}