#include<stdio.h> #include<conio.h> void main() { float h,b,a; /*h for height, b for base and a for area*/ clrscr(); printf(“enter height and base of triangle\n”); scanf(“%f%f”, &h,&b); a=h*b/2; printf(“\n area of triangle with height %.2 base %.2f is %.3f’,h,b,a); getch(); }Output:enter height and base of triangle 4 3 area of triangle with height 4.00 base 3.00 is 6.000

**Program to find area of triangle when height and base are given**