0_0_37562648_12842.cpp: In function 'double area(P, P, double)':
0_0_37562648_12842.cpp:169:6: error: expected ';' before numeric constant
1.00 2
^
0_0_37562648_12842.cpp:182:12: error: 'rad' was not declared in this scope
if(sgn(rad+pi)<0)rad+=2*pi;
^
0_0_37562648_12842.cpp:183:12: error: 'rad' was not declared in this scope
if(sgn(rad-pi)>0)rad-=2*pi;
^
0_0_37562648_12842.cpp:185:16: error: 'rad' was not declared in this scope
return r*r*rad/2;
^
|