#include< stdio.h>
int main() {
int height,base;
float area;
printf("Enter height of triangle\n");
scanf("%d",&height);
printf("Enter base\n");
scanf("%d",&base);
area=(height*base)/2;
printf("Area of triangle is %f",area);
}
Enter height of triangle
10
Enter base
9
Area of triangle is 45.000000