// how to find area of triangles
#include<stdio.h>
int main()
{
float a,h,b;
printf(“n Enter height :”);
scanf(“%f”,&h);
printf(“n Enter base :”);
scanf(“%f”,&b);
a=b*h*0.5;
printf(“n Area of triangle = %f”,a);
return 0;
}
You can get more related c programs here
/*54745756836*/