0_0_30150559_28190.cpp: In function 'int main()': 0_0_30150559_28190.cpp:13:24: error: 'M_PI' was not declared in this scope s=0.5*n*sin(360/(n)*(M_PI/180));//check ^