#include <stdio.h>

int main() {
    
   float a, b;
    scanf("%f", &a);
    scanf("%f", &b);
    
    printf("삼각형의 밑변의 길이는 %.1f, 높이는 %.1f 입니다\n", a, b);
    printf("따라서 삼각형의 넓이는 %.1f 입니다.\n", a*b*0.5);
   
    
    
    return 0;
}

Embed on website

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