# includeint main (void){ double l, w, h;//定义变量 double s, v;//定义变量printf("please input l:")
;//提示请输入长方体的长 scanf("%lf", &l)
;//提示请输入长方体的宽 scanf("%lf", &w)
;//取地址符&不能丢printf("please input h:")
;//取地址符&不能丢s = ((l * w) + (l * h) + (w * h)) * 2;//求长方体的表面积 v = l * w * h;//求长方体的体积printf("s = %lf
v = %lf
", s, v)