12

牛牛学梯形

https://ac.nowcoder.com/acm/problem/21995

include

using namespace std;
int main()
{
int up,down,height;
double s;
cin>>up>>down>>height;
s=(up+down)*height/2.0;
printf("%.3lf",s);
return 0;

}

全部评论

相关推荐

小万喜欢吃牛油:很多是多少,我不想被 误导了,简历没有什么大问题,如果只有几十家,投到一百多家再说吧
投递几十家公司,到现在0...
点赞 评论 收藏
分享
评论
8
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务