#include<stdio.h> #include<math.h> void main() { double dep,s,Glo; printf("输入Glo=:"); scanf("%lf",&Glo); s=0.0026; dep=2*(s-2*Glo); printf("dep=%lf\n",dep); }