0_0_23021651_20680.cpp: In function 'int main()': 0_0_23021651_20680.cpp:30:33: error: 'M_PI' was not declared in this scope cout<<setprecision(3)<<fixed<<M_PI*4*r*r*r/3<<endl; ^