1234567891011121314151617
#include <iostream> using namespace std; int main () { int base,height, area; cout<<endl<<"enter height"; cin>>height; cout<<endl<<"enter base"; cin>>base; cout<<endl<<"*enter height "<<height<<"*"; cout<<endl<<"*enter base "<<base<<"*"; cout<<endl<<"*enter area "<<0.5*height*base<<"*"; return 0; }