0_0_37010753_21299.cpp: In function 'int main()':
0_0_37010753_21299.cpp:28:21: error: 'n' was not declared in this scope
double ans=0.5*(n-1)*sin(2*PI/n)+sin(PI/n);
^
0_0_37010753_21299.cpp: At global scope:
0_0_37010753_21299.cpp:31:1: error: expected unqualified-id before 'return'
return 0;
^
0_0_37010753_21299.cpp:32:1: error: expected declaration before '}' token
}
^
|