#include <stdio.h>
int main(void) {
float base;
float height;
float area;
printf("삼각형의 밑변 : \n");
scanf("%f", &base);
printf("삼각형의 높이 : \n");
scanf("%f", &height);
area = base * height / 2.0f;
printf("%f", area);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: