#include <stdio.h>
int main(void) {
int jyoutei=100;
int katei=200;
int takasa=50;
int menseki;
menseki=(jyoutei+katei)*takasa/2;
printf("上底 %d 下底 %d 高さ %d の台形の面積は %d です。\n", jyoutei, katei, takasa, menseki);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CmludCBqeW91dGVpPTEwMDsKaW50IGthdGVpPTIwMDsKaW50IHRha2FzYT01MDsKaW50IG1lbnNla2k7CgptZW5zZWtpPShqeW91dGVpK2thdGVpKSp0YWthc2EvMjsKcHJpbnRmKCLkuIrlupUgJWQg5LiL5bqVICVkIOmrmOOBlSAlZCDjga7lj7DlvaLjga7pnaLnqY3jga8gJWQg44Gn44GZ44CCXG4iLAoJCWp5b3V0ZWksIGthdGVpLCB0YWthc2EsIG1lbnNla2kpOwoJcmV0dXJuIDA7Cn0K