Computer Science, asked by dwaragas8, 7 months ago

Write a program to find the area of a triangle. (formula area =1/2 bh) ​

Answers

Answered by bhanu1098
6

Explanation:

#include<stdio.h>

int main()

{

int b,h;

float area;

scanf("%d%d",&b,&h);

area=1/2*b*h;

printf("Area of triangle is %f",area);

return 0;

}

Similar questions