#include<stdio.h>
int main(){
    int b=4,h=6;
    float area=0.5*b*h;
    printf("Area of triangle = %.2f",area);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: