#include <stdio.h>

int main() {

   //활동2//
    float a,b;
    scanf("%f",&a);
    scanf("%f",&b);

    printf("밑변의 길이는 %.1f,높이의 길이는 %.1f입니다.\n",a,b);
    printf("삼각형의 넓이는 %.1f입니다.",a*b/2);
   
    return 0;
}

Embed on website

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