String s=request.getParameter("sd");
String x=request.getParameter("xd");
String g=request.getParameter("gao");
Double double=new Double();
double ss=double.parseDouble(s);
double xx=double.parseDouble(x);
double gg=double.parseDouble(g);
out.println("梯形的面积是:"+(ss+xx)*gg/2);
String x=request.getParameter("xd");
String g=request.getParameter("gao");
Double double=new Double();
double ss=double.parseDouble(s);
double xx=double.parseDouble(x);
double gg=double.parseDouble(g);
out.println("梯形的面积是:"+(ss+xx)*gg/2);