01 #include <stdio.h>

02 #include <math.h>

03

04 int main()

05 {

06 int b,h;

07 float area;

08

09 printf("Enter the values of breadth and height : n");

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

11

12 area = (b*h)/2;

13

14 printf("Area of the triangle = %.2f n", area);

15

16 return 0;

17 }

OUTPUT :

Enter the values of breadth and height :

10

20

Area of the triangle = 100.00