#include<iostream>
using namespace std;
int main()
{
float s,h,up,down;
up = 15;
down = 25;
h = 2*150/up;
s = (up+down)*h/2;
cout<<s ;
return 0;
}
求梯形面积
最新推荐文章于 2023-07-12 16:45:49 发布
#include<iostream>
using namespace std;
int main()
{
float s,h,up,down;
up = 15;
down = 25;
h = 2*150/up;
s = (up+down)*h/2;
cout<<s ;
return 0;
}