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