#include<stdio.h>
#define a 0.5
int main()
{ int X;
int NB;
int BN;
int NBA;
int NBNBNB;
printf("请输入底:X=");
printf("请输入高:NB=");
printf("请输入斜边:BN=");
scanf("%d";&X);
scanf("%d";&NB);
scanf("%d";&NB);
NBA=X*NB*a;
NBNBNB=X+NB+BN;
printf("面积是:%d周长是:%d",NBA,NBNBNB);
}