0_0_30503164_13645.cpp: In function 'int main()': 0_0_30503164_13645.cpp:9:18: error: 'n' was not declared in this scope double ans=(n-1)*sin((2*pi)/n)/2+sin(pi/n); ^