#include<iostream> using namespace std; int main() { double a,b,c; a=10; b=20; c=8; cout<<(a+b)*c/2; return 0; }