📅  最后修改于: 2022-03-11 15:04:41.589000             🧑  作者: Mango
#include
int main(){
float h, b, A;
printf("What is the Height and base of the triangle: \n");
scanf("%f %f", &h, &b);
A = 0.5 * b *h;
printf("Area is %f\n", A);
}