0_0_20897160_1786.cpp:2:9: error: expected constructor, destructor, or type conversion before '(' token
scanf("%lf %lf %lf %lf",&v1,&v2,&r,&d);
^
0_0_20897160_1786.cpp:3:4: error: 'w' does not name a type
w = v1/r;
^
0_0_20897160_1786.cpp:4:4: error: 'R' does not name a type
R = v2/w;
^
0_0_20897160_1786.cpp:6:25: error: 'asin' was not declared in this scope
double ans = asin(tmp);
^
0_0_20897160_1786.cpp:7:4: error: 'ans' does not name a type
ans = ans * 2.0 * R;
^
0_0_20897160_1786.cpp:8:4: error: expected unqualified-id before 'if'
if(ans-d<=esp)puts("Wake up to code");
^
0_0_20897160_1786.cpp:9:4: error: expected unqualified-id before 'else'
else puts("Why give up treatment");
^
|