#include<bits/stdc++.h> using namespace std; int main(){ int a,b,h; cin>>a>>b>>h; float o; o=(a+b)*h/2.0; printf("%.1f",o); return 0; } /************************************************************** Problem: 1329 User: huangluowei Language: C++ Result: Accepted Time:6 ms Memory:2072 kb ****************************************************************/