运行 ID: 341218

Main.cc: In function ‘int main()’:
Main.cc:6:5: error: ‘b’ was not declared in this scope
     b=a*h/2;
     ^