INPTU "上底,下底,高";a,b,hs=(a+b)*h/2PRINT "梯形的面积为:";sEND
#include void main(){float a,b,h;scanf("%f %f %f",&a,&b,&h);printf("area is %f",(a+b)*h/2);}