0_0_25804929_20245.cpp: In function 'double calc1()':
0_0_25804929_20245.cpp:10:22: error: 'D' was not declared in this scope
return 2.0*sqrt(R*R-D*D)/V;
^
0_0_25804929_20245.cpp: In function 'double calc2()':
0_0_25804929_20245.cpp:14:24: error: 'D' was not declared in this scope
return 2.0*sqrt(Rm*Rm-D*D)
^
0_0_25804929_20245.cpp:15:1: error: expected ';' before '}' token
}
^
0_0_25804929_20245.cpp: In function 'int main()':
0_0_25804929_20245.cpp:24:9: error: 'D' was not declared in this scope
D=fabs(y0*vx-x0*vy)/v;
^
0_0_25804929_20245.cpp:24:29: error: 'v' was not declared in this scope
D=fabs(y0*vx-x0*vy)/v;
^
|