#include<iostream> #include<iomanip> using namespace std; int main() { float h,a,b,s; a=15; b=25;h=150*2/15; s=(a+b)*h/2; cout<<fixed<<setprecision(2)<<s<<endl; return 0; }
拿去不送
#include<iostream> #include<iomanip> using namespace std; int main() { float h,a,b,s; a=15; b=25;h=150*2/15; s=(a+b)*h/2; cout<<fixed<<setprecision(2)<<s<<endl; return 0; }
拿去不送